Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enums in VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01378225
Message ID:
01378258
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform