Solved

What variant type is in the variant variable?

Posted on 2006-06-18
1
277 Views
Last Modified: 2010-04-05
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
Comment
Question by:dcrudo
1 Comment
 
LVL 8

Accepted Solution

by:
RickJ earned 500 total points
Comment Utility
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

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now