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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert field to text in Query

Status
Not open for further replies.

DonS100

Programmer
Dec 4, 2001
104
US
How do you convert a integer field in an Access query to a string.

I know in SQL Server you can do
convert(varchar,iNumberField) but not sure how in Access.
 
Either:
iNumberField & ''
Or:
CStr(iNumberField)
Or:
Format(iNumberField, '#')

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top