Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I drop it?
Message
De
03/12/2013 04:10:18
 
 
À
03/12/2013 03:13:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01588891
Message ID:
01589128
Vues:
71
>>Hello Srdjan,
>>
>>Could you please give me examples of functions that wouldn't function properly with long field names?
>
>I experienced problem with following code construct
>
>
>select some_alias
>local aTmp(1)
>afields(aTmp)
>create cursor tmpCur from array aTmp
>alter table alias() add column...   &&explodes right here 
>
>
>I did not do extensive testing with other commands. Ask Dragan, he probably did ! :))

Redimension the array. Add another row, fill in the columns of that row, then create cursor from array aTmp

or
select *, cast( 0 as Int) as NewColumn from some_alias into cursor tmpCur readwrite  where .f.
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform