Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disappearing Grid Method
Message
 
 
À
15/03/2006 11:06:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01103672
Message ID:
01104538
Vues:
16
>>>I NEVER created myself table field, having name longer then 10 characters.
>>>
>>>alter table alias() works like charm for me in VFP6 :)
>>
>>What alias() returns? AFAIK this code should work just fine, but we're not using it in our code.
>
>alias() itself returns currently selected alias.
>
>In this case I was using this construction to alter cursor created by
>create cursor command as copy of actual table and then adding fields to it.
>
>something like
>
>
>select clients
>local arrStru(1)
>=afields(arrStru)
>create cursor rClients from array arrStru
>alter table alias() add column CustTot n(12,2)
>alter table alias() add column lastPur D(8)
>.
>
Is Clients table part of the database? Does it have some specific features of a table belonging to a database, such as PK, for example?

Also you may want to do ALTER TABLE as one step. It should be quicker.
>
>But unfortunately this construct does not work anymore in VFP9
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform