Importing Spreadsheets dropping five rows

K

kc-mass

Hi,

I have a most perplexing problem. When I Import a spreadsheet I am getting
all but 5 rows.

If I add a column of psuedo row number for debugging, all the records come
in.

Plain old code.
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9,
"tblST_Americas", Forms!frmTab!frmLoad!txtLoaded3, True

What's up with this???

Kevin
 
D

Daryl S

Kevin -

Could there be a table or field constraint that could be preventing in
import (e.g. duplicate key values that adding an rownum column fixes)? Is
there anything different about the records being skipped? Is it always the
last 5 records or always the same records? What happens if you sort the
spreadsheet differently before the import - does it change which records are
missed? These questions may help determine if it is a data issue or not.
Maybe a few records have a text string that looks like a number? How many
total records are being imported?

Give us a little more information and we might be able to help a little
more...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top