Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My view doesn't change the value of a variable
Message
From
21/10/2000 09:25:59
 
 
To
21/10/2000 08:50:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00432465
Message ID:
00432471
Views:
19
Hi!

Variable itself is not bound to view, so when you change it view is not changed. You need to run query of view with noew parameter value (variable value). Use requery() function to requery view data after you changed variable.

>I built a view filtered by a "field=0 and ?variablename" statement.
>It worked fine the first time I ran it, however, subsequent changes of variablename don't affect the outcome of the view. It keeps showing the results filtered by the first instance of variablename, even if I change the variablename value in the command window.
>Why is this happening and how can it be solved?
>Please be as specific as possible.
>Thanks in advance.
>Ulises
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform