G
Guest
Using Access 2002, I am importing data from Excel (which is a file created
from AS400) and have used various methods, i.e. linking to the excel file,
importing the excel file, and currently using the "Transfer Spreadsheet"
function in VB. With each method of importing the data, the last record of
the excel file is omitted. Using the Transfer spreadsheet function I get an
eror message saying that 1 record was deleted because either the fieldsize
property or the field data types do not match. Which is wierd because all
the data in each record is the same (as it came from AS400) and it only
deletes the last record. I have found that if I name the range of records in
excel before I transfer the data I can capture all of the records, but I
don't want to have to do this every time I do the import unless I can
automate that from Access.
Does anyone have an idea of what is going on with my spreadsheet import and
how I can fix it?
Thank you for your time and attention.
from AS400) and have used various methods, i.e. linking to the excel file,
importing the excel file, and currently using the "Transfer Spreadsheet"
function in VB. With each method of importing the data, the last record of
the excel file is omitted. Using the Transfer spreadsheet function I get an
eror message saying that 1 record was deleted because either the fieldsize
property or the field data types do not match. Which is wierd because all
the data in each record is the same (as it came from AS400) and it only
deletes the last record. I have found that if I name the range of records in
excel before I transfer the data I can capture all of the records, but I
don't want to have to do this every time I do the import unless I can
automate that from Access.
Does anyone have an idea of what is going on with my spreadsheet import and
how I can fix it?
Thank you for your time and attention.