Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy table with long fieldname
Message
From
11/02/2022 14:38:47
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
11/02/2022 14:23:55
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01683544
Message ID:
01683549
Views:
42
>>Have you tried to make the VFP table part of a VFP database?
>
>Not sure how to do that.
>
>I did able to copy that table (with long fieldname) as a free table, long time ago.
>But I don't remember how to do that again :(
>
>Copy to picklist1
>
>I got the fieldname cut off

Free tables have only short names. The long names are fields in the DBC.
You might try a cursor, this may keep the long fieldname - but only as long as the datasession exists. For tables there is only DBC

Try something like
CREATE DATABASE Testx
CREATE TABLE (....) &&since the database is set, the table will be part of it by default
APPEND FROM ...
or
CREATE CURSOR (....)
APPEND FROM ...
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform