General information
Category:
Coding, syntax & commands
Tip: If you are appending from a VFP cursor (a temporary file), such as one created with SELECT .... INTO CURSOR MyCursor
... you can say APPEND FROM (DBF("MyCursor))
>What is the proper syntax for using a variable which holds a table's name instead of a literal table name with the APPEND FROM statement?
>I am changing the table's name dynamically in a prior step.
>
>Is it something like this ?
>
> ex.
>
> local array aNames{'jones', 'smith', thomas'}
> local sTablename, i
>
> for i = 1 to 10
> sTablename = "MY_NEW" + aNames
> Append from sTablename
> next
>
>
> Thanks for the help !
Previous
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