Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter clear
Message
From
16/10/2004 12:19:11
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
15/10/2004 23:48:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00951906
Message ID:
00951947
Views:
12
Hi Mohammed

Never SET FILTER using object.property values. If the object (or form) goes away or goes out of scope, the filter will fail. Also filter is slower with property values. Use constants via macro substitution or memory variables.

>hi all,
>
> i need to change this statments to somthing more activeate
>(without error message filter cleared).
>
>SELECT mstr
>LOCATE FOR BILLNO=THISFORM.TEXT1.VALUE .AND. DATEIN=THISFORM.TEXT2.VALUE
>IF FOUND()
>SET FILTER TO BILLNO=THISFORM.TEXT1.VALUE .AND. DATEIN=THISFORM.TEXT2.VALUE
>
>
>
>thanks
>
>m.qasem
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform