cdaviduik
I would like to create a SQL SELECT statement in VFP9 but instead of specifying the table explicitly I would like it to be read from a variable. For example:
TABLE_NAME = "table_to_select"
SELECT * FROM TABLE_NAME;
INTO CURSOR tbl_cur
and when I execute the above I would actually like this to happen:
SELECT * FROM table_to_select
INTO CURSOR tbl_cur
Any ideas on how to do this I have not been able to find a solution with VFP9 help or within the forums.
Thank you.