Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy table with long fieldname
Message
De
11/02/2022 14:38:47
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
11/02/2022 14:23:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01683544
Message ID:
01683549
Vues:
43
>>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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform