Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enums in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01378225
Message ID:
01378258
Vues:
16
Think of an enum as an array that stores a value and a description. The nice thing is that in code, you use the description and the compiler figures out the value for you. You'll really only need to work with a single value at a time and from what I've seen, it's always a number.

>Hi Craig,
>
>Thank you for your response. So you mean I will need to store the Templ value as an actual value? When I run this in the debugger, Templ evaluates to a varbinary type. How would I store something like that in a VFP table or SQL Server table? In a memo or blob field?
>
>I haven't worked with this type of value type before so I'm not sure what to do with the Templ Object (which evaluates to a varbinary in the debug window).
>
>Any help you can spare would be much appreciated.
>
>Thanks,
>
>James
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform