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!

Excel linked to access, data type problems

Status
Not open for further replies.

gungfukid

Programmer
Apr 9, 2001
9
GB
I have linked an Excel sheet to my Access database. Where I need numbers as well as text I have forced Access to make the field Text by using a dummy first row which I then delete.

The problem is that in text fields the numbers are not displayed, instead I get #num!

This is inconsistent however as on one field some numbers are displayed correctly and others have #num!

Why is this? How do I get all numbers to display in text fields?

Thanks!!
 
use CStr(number) to convert the number to a string Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top