Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preserving long field names
Message
From
03/07/2002 11:58:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
03/07/2002 11:56:28
Howard Brown
Howard J. Brown Consulting Services Inc.
North Kingstown, Rhode Island, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00674978
Message ID:
00674980
Views:
14
>I'm using vfp 6.0 as a report generator tied to a cache' database via ODBC. The cache' data uses long field names which I have no problem with when I bring the data up into a cursor. However I want to save certain retrieved views and look at them retrospectively. To do this I execute a COPY TO command. The problem is that the COPY truncates field names, thus my original reporting foxpro code is looking for long field name that no longer exist.
>Is there a way to retain long field names when COPYing from a cursor to a table?
>Thanks,
>Howie Brown

You have to copy to a database.
COPY TO MyResult DATABASE MyDatabase
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform