Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Repost - Search Expression needs UDF
Message
From
24/05/2001 17:28:51
 
 
To
24/05/2001 13:50:48
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00510340
Message ID:
00511230
Views:
16
I spoke too soon. I got it. The only problem I have left is that I have a button on my form called Clear to clear the filter that my form is set on. When I press it I also :

SET FILTER TO
thisForm.Caption = thisForm.cOldTitle
thisForm.cSearchFilterExpr = "" - My screens filter property
thisform.oQuery.cFilter = "" - Stonefield's Filter from the SFGetFilter screen
thisForm.lFilteron = .F.
thisform.refresh
nodefault

The filter gets cleared but if I press my Find button again and the SFGetFilter is called, it is showing the filter Display in LstQuery even though the cFilter express was empty. How do I 'erase' this so after clearing a filter it is truly gone. I suppose I could open the form and call ClearFilter() but that seems like extra work. Is that the only way?

Thanks for your help,
Sandi Cassidy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform