General information
Category:
Coding, syntax & commands
Title:
Use of macro substitution
I have a form property called thisform.filename initialized to "c:\test\test.dbf"
When I run a query using "Select * From &thisform.filename" it errors saying the table is not found.
If I set the form property to a variable as follows:
lcfilename = thisform.filename
Select * from &lcfilename - the query works.
Is it that a form property is not really a variable as far as macro substition is concerned.
Gaylen
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