Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting a Filter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00138535
Message ID:
00138895
Vues:
14
>>Could do that - but I'm not clear on how to change the parameter while the form is active based on a user selection. How do you requery the view?
>
>David,
>
>Numerous ways to accomplish this.
>Example:
>You have to set the parm in your view to myDbf == ?m.issueDate
>View is called vMyDbf
>On your form you have a text box.
>The user enters a new date.
>On lostfocus() you issue the following:
>
>local m.issueDate, lnSelect
>lnSelect = select()
>select vMyDbf
>m.issueDate = this.value
>=requery('vMyDbf')
>
>Thats all there is to it. There are numerous ways to do this, but I think this is a easy way to explain it. If you need more help - just ask.
>
>Robert

Thanks Robert, that's great, just didn't know about "Requery()"
:-))
Regards
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform