• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 286
  • Last Modified:

What variant type is in the variant variable?

Dear Experts,

I use a variant variable to retrieve records from a database... once retrieved...
how can I know what is the variant type stored in the variable? (integer, string, ...)

Thank you!

Dave
0
dcrudo
Asked:
dcrudo
1 Solution
 
RickJCommented:
Use the VarType function.
It returns the variant type. i.e  varInteger, varString, varDouble  etc.

Look in help will give you full list of types.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now