Trouble using OCX filter property.

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Derran
Posts: 28
Joined: Tue Oct 10, 2017 12:44 pm

Trouble using OCX filter property.

Post by Derran » Wed Jul 31, 2002 7:59 pm

[updated:LAST EDITED ON Jul-31-02 AT 08:21 PM (EST)]Here are my lines of code:____ThisForm.olePrintClaim.Query = 2__ThisForm.olePrintClaim.Filter = "CLAIMS->cnumber=^100213"____The filter expression returns this error: Unterminated String at offset 1 of RI_FILTER.____I^m confused by this error as I^m not using a control table. I also have a problem passing a variable to the Filter property rather than hard coding as you see above.____Here is the way I would like to do it:____cClaimNumber = "CLAIMS->cnumber="+^"^+RTRIM(Claims.cnumber)+^"^__ThisForm.olePrintClaim.Filter = cClaimNumber____NEVER MIND. I GOT THE VARIABLE TO WORK.____:-)

Post Reply