Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot change cursor column name
Message
De
12/01/2017 12:08:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01646543
Message ID:
01646595
Vues:
48
visual foxpro capacities:(from https://msdn.microsoft.com/en-us/library/3kfd3hw9(v=vs.80).aspx)
Maximum number of characters in field names in a free table 10
Maximum number of characters in field names in a table contained in a database 128

A suggestion (i am not tables oriented !) :
when you create a cursor its have readonly.attribute then you cannot change anything otherwise adding records....
its like a free table and max.field chars cannot up 10 by limitation(troncated).
if you use the select statement and Readwrite option maybe this can solve your problem.
select.........INTO CURSOR ycurs readwrite
try this code
Sele * From Home(1)+"samples\data\customer" Into Cursor ycurs readwrite
brow
ALTER TABLE ycurs RENAME fax  TO azertyD123456789f
brow
see the field FAX how its renamed (without any message error).

*update: modi stru of ycurs cursor(17 chars)
field azertyd123456789f c24
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform