Trouble using OCX filter property.
Trouble using OCX filter property.
[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.____:-)