any other ideas?
This process will be used by many people, and the intention is that there not be any manipulation of the excel file (which comes from a third party). So, manually adding another row is out.
I am importing into a pre-existing table, so the field types are certainly preset.
Again, if I bring in the file manually to the existing table (Tables -> new -> import -> existing table),...
User Profile
Collapse
-
-
as long as your fields only have 7 or 8 digits, and they all have to be 8 digits, try this:
iif(len([line_item])=7, "0" & [line_item]), [line_item])
you can also use a query:
update <<table>> set [line_item] = "0" & [line_item] where len([line_item]) < 8
If your values have several varying lengths, but must all be 8 digits, you would just run this...Leave a comment:
-
no warnings when using transferspreadsheet or text
I am using transfertext and transferspreads heet in VBA to import an excel file (.csv or .xls) into access 2003.
Some of the fields are failing (I am getting an import error file), but I am not getting any warning message. I have explicitly turned on the warnings, but it didn't make a difference. If I manually import the table, the warnings appear ("Microsoft Access was unable to append all the data to the table. The contents...
No activity results to display
Show More
Leave a comment: