Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending Tables
Message
 
To
30/12/1996 18:04:03
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00016199
Message ID:
00016210
Views:
40
>> After the first run of this program, I found out that the append table command does not like to have a memory variable substituted for an actual file name. I started to figure out an alternative way to append my foxpro table. But I do not know enough about how VFP deals with opening/appending files from a form. At this point I'm not sure if VFP is designed to do this.
>
>try macro substitution
>
>myvar=alltrim(thisform.control.value)
>APPEND FROM &myvar
>
>HTH
>
>Arnon

An alternate syntax is

APPEND FROM (myvar)

One note: If you're appending from a cursor you will need to find out the 'Real' name and location of the cursor, not the alias. Use the "dbf()" function for this.

Barbara Paltiel
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform