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!

Converting numeric data into Text data

Status
Not open for further replies.

Stoffman

Programmer
Apr 6, 2005
42
GB
I am importing data from a spreadsheet into Access, one of the columns has either null values, Text values or Numeric values (A pain I know). I have an append query linking to a linked table which converts everything else in this spreadsheet to remove nulls and other rubbish data, but for this column I want to convert all Numbers to say "CHQ"

I tried Transaction:IIf(([Trans])>0,"CHQ",([Trans])) As a field name in a query, I assume this doesn't work because of the text records.

Any ideas?

Cheers Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top