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:
00266142
Vues:
29
>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.

Thanks. I'll give that a try. While I've got your ear, I just ran into a problem with SFQuery. In SFFieldCollection.GetFieldCollection:

do case

* If DBCXMgr is alive, try to get the VFE caption property.

case llSDTNew
lcCaption = toMeta.DBCXGetProp(tcDBC + '!' + tcField, tcType, ;
'VFEcDlgCaptn')
lcCaption = nvl(lcCaption, '')

I'm hitting this case, but I'm not using VFE (VMP). So lcCaption gets set to NULL. Am I doing somthing wrong?
Chris McCandless
Red Sky Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform