noboffinme
Registered User.
- Local time
- Today, 21:23
- Joined
- Nov 28, 2007
- Messages
- 288
Hi
I'm importing a spreadsheet into Access & want to change some data before it is imported to suit the database.
I have a field that is of the 'General' datatype, most values are doubles eg; '1.7' When add code to replace '?' with '0' or just "", it still won't convert correctly & deletes the columns data.
I've had a look for why data sits in the left or right side of a cell depending on the format applied but can't find anything & I think this may be part of the problem.
Does anyone know why the cells value moves from the right side to the left of the cell if you change the format to text & what is the reason for this?
I find changing the datatype to 'text' from 'general' may make the code work & change '?' to a '0' as I need.
Any suggests appreciated
I'm importing a spreadsheet into Access & want to change some data before it is imported to suit the database.
I have a field that is of the 'General' datatype, most values are doubles eg; '1.7' When add code to replace '?' with '0' or just "", it still won't convert correctly & deletes the columns data.
I've had a look for why data sits in the left or right side of a cell depending on the format applied but can't find anything & I think this may be part of the problem.
Does anyone know why the cells value moves from the right side to the left of the cell if you change the format to text & what is the reason for this?
I find changing the datatype to 'text' from 'general' may make the code work & change '?' to a '0' as I need.
Any suggests appreciated