Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a fieldname to a cursor programatically
Message
De
18/12/2003 15:52:11
 
 
À
18/12/2003 15:16:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00860481
Message ID:
00860514
Vues:
23
>Hi Trey,
>
>Just tried out your method, and it works! Thanks very much. Any way the '_' can be avoided(if possible) ?
>
>Regards,
>
>Steve.

yqw :)

The underscore is simply a nondescript way to prevent the field name from beginning with a number - e.g., if startyr is 2003 then the field name would be "_2003". Any legal, non-numeric value would work (i.e., alpha or underscore).

if startyr doesn't begin with a number, then you wouldn't need to prefix it.

Trey
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform