Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting a filter without showing SFGetFilter form
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00265923
Message ID:
00266096
Views:
24
Hi Chris.

>Can I somehow (easily < g >) get SFQuery to recognize this filter? That way, if the user wants to further filter the records (say invoices > $1,000), the initial filter on the customer will already be there when SFGetFilter is displayed.

If it was me doing this, I'd simply AND the customer filter with anything the user sets for invoices. IOW, the user wouldn't see the customer filter in the SFGetFilter dialog for invoices (and couldn't change it, either).

However, that's just me [g]. If you want to have the user see the customer filter, populate the aQuery array property of the SFQuery object on the invoices form with information about the current filter. The simplest way is to ACOPY the customer's SFQuery.aQuery to the invoices's SFQuery.aQuery.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform