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