General information
Title:
Baffled by variables
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only