A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Importing Spreadsheets dropping five rows



 
 
Thread Tools Display Modes
  #1  
Old April 6th, 2010, 01:04 AM posted to microsoft.public.access
Kc-Mass
external usenet poster
 
Posts: 362
Default Importing Spreadsheets dropping five rows

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


  #2  
Old April 7th, 2010, 08:03 PM posted to microsoft.public.access
Daryl S[_2_]
external usenet poster
 
Posts: 881
Default Importing Spreadsheets dropping five rows

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...

--
Daryl S


"kc-mass" wrote:

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


.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.