Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying files with memo fields
Message
From
11/11/2012 03:43:41
 
 
To
11/11/2012 02:49:33
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01556906
Message ID:
01556920
Views:
29
all true, but in nitpicking mode I might argue that your code is vulnerable against possibly pre-existing alias MyData ;-)

>No. 0 as a workarea means "next work area not currently in use". So, if you issued SELECT 0 instead of SELECT MyData, you would be in a work area that had no table, so the following COPY command would fail.
>
>>thanks al - i think it should be select 0
>>typo - it works great though - problem resolved.
>>tnx
>>k
>>>>.i have added a memo field to my database. when i copy the database to another mydata.dbf to my2data.dbf the memo fields are not automatically copied. it looks like they are stored in a separate file with ftp extension. any idea how i can copy that to the new database so it tags along with.
>>>>
>>>>i get an error message that memo file is missing or invalid when i try to open the new database.
>>>
>>>
>>>USE MyData IN 0
>>>SELECT MyData
>>>COPY TO My2Data ALL WITH PRODUCTION
>>>* WITH PRODUCTION / WITH CDX also copies any associated .CDX index file, if present
>>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform