Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I drop it?
Message
De
06/12/2013 06:01:36
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
05/12/2013 09:42:05
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:
01589412
Vues:
95
>Also, in vfp9 SP1 - like in vfp6
>
>select ... into cursor tmp
>index on field tag field
>index on field2 tag field2 && error
>
>You can create one and only one index
>
>vfp9 SP2
>
>select ... into cursor tmp
>index on field tag field
>index on field2 tag field2 && no error
>
>You can create more than one index
>
>If you use into cursor readwrite you can create more than one index in vfp9 SP2

This was so even in 2.6 - the first is a readonly cursor, on which you can have one tag. For more than one, you need readwrite. There was a trick, IIRC, to use the former AGAIN in a different workarea and index it there, as it became readwrite then.

But actually the alter table issue is related to the way Fox operates the long field names. It requires a dbc to maintain them. As long as you don't want to change them, the names are held in some internal structure in memory and all is fine. If you want to change the structure and have long names, you need a dbc and a simple cursor doesn't belong to one, hence it's a no go.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform