How do you determine which type of data is in the COleVariant
object?

basically, i'm retrieving fields from a database from the
GetFieldValue function into a COleVariant object. How do I
determine what type of data the var object is referencing
or do I have to know what data types each field contains
beforehand?

thank you in advance