Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting free tables to DBC
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01000246
Message ID:
01000273
Views:
21
>Note that if you use long field names in a database table, and SQL select from that table, into free table or cursor,m then the long field names woill be truncated to 10 chars in the result.

Terry,
When selecting to cursor (I never select into table, thats why I don't know if this is true) Long field names are preserved
Try this:
CLOSE DATABASES ALL
CREATE DATABASE TestData
SET DATABASE TO TestData
CREATE TABLE Test (VeryLongNameOverTenChars C(10))
INSERT INTO Test VALUES ("AAAAA")
CLOSE DATABASES ALL
SELECT * FROM Test INTO CURSOR cTest
BROW
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform