Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert return constant value from integer to text, ex: dbtext=10

Status
Not open for further replies.

GSMike

Programmer
Feb 7, 2001
143
US
Does anyone know how to convert a returned field property from the numeric value to the text property?
Example:
Code:
msgbox fld.type

returns
10

How do you get it to return
dbText?

Thanks for your help.
Mike Kemp
 
Oops!! Answered my own question.
I just created a "select case" function that went through all 21 data types and converted the integer values to string values that way.
Thanks anyway!
Voting myself tipmaster of the week, by the way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top