Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Baffled by variables
Message
 
To
08/01/1997 19:49:55
Tony Catalano
Bennett and Williams Eci
Columbus, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00016834
Message ID:
00016889
Views:
70
>I am completely baffledd (with 2 d's) by how variables are transfered from a form to another program. On my form, the user is able to select a table that will be used by a program that will sort it to another table. The selected table name is stored to a variable (defined in properties.controlsource) that is passed to another program by way of the DO WITH command.
>
>The program that has been started uses the Lparameters command to pass the variables. Now, all that program as to do is use that variable to open the selected table with a USE command and then SORT it to another table.
>
>I can not get the USE or SORT command to read the table name stored by the variable.
>
>This is where I'am lost, By trade I'm a geologist. Programming with this software has entered the land of "Terra Unknowna".
>
>I have begun to experiment with the following things, by inserting them after the USE command, to solve my problem:
>Macro substitution, (dbf(myvar)), evaluate(myvar), (evaluate(myvar)),use(myvar)
>
>I tried to use dot notation to refer back to it, but I'm a little lost there too.
>
>If anyone can help I'd really appreciate it
>
>thanks
>
>tony c.


i usually place parameters i've received into properties in the receiving form. this way they are available anywhere in the form.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform