Hi all,
I have a select statement saved in a memo field. I save the memo field contents to a variable and execute the variable/select statement via macro substitution.
This returns the error of "Table Number is Invalid".
The table does exist.
When I copy the select statement from the memo window to the command box and execute it that way, it works. (of course!)
Any suggestions?
I have a select statement saved in a memo field. I save the memo field contents to a variable and execute the variable/select statement via macro substitution.
Code:
xJunk = table1.mMemoSQL
&xJunk.
The table does exist.
When I copy the select statement from the memo window to the command box and execute it that way, it works. (of course!)
Any suggestions?