Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting a filter without showing SFGetFilter form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00265923
Message ID:
00266096
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform