Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View with a variable filter
Message
 
 
À
22/01/2003 14:14:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00744409
Message ID:
00744432
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>Hi all...
>I have a view filtered by a ?xVar variable.
>I have a form with the Data Environment set to that view. Problem is, everytime I try to open the form, a window pops up asking for the value of the variable, which I don't want because the value is selected by the user from a Combo box. A way around this is declaring the variable and asigning it a ' ' value in the button that opens the form, before the DO FORM command. This works OK but I feel there should be a more 'elegant' solution to this. Some one said that 'if it works, it's OK', but still I'd like to see a different aproach.

>Thank you for your time.
>Ulises

As Hilmar told you, this is a normal behaivor of the Views. Also, if you are using DataEnviroment set NoDataOnLoad to .T. at your Cursor Properties and when you need it Requery("YourView")
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform