Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import code sometimes changes rows

Status
Not open for further replies.

RamziSaab

MIS
May 7, 2003
522
GB
I have a code using docmd.transferspreadsheet...

now this work fine most of the time, but sometimes it will mix the rows around i.e. row 10 will be row 1 etc. does anyone know why or has seen similar behaviour?
 
'TransferSpreadsheet' is essientially an import process. If you transfer to an existing recordset (table) and that table includes an index, viewing the results would normally occur throung hte index. It does not (necessarily) mean that the data itself has been re-ordered, only the 'view'. To see if this is occuring, check for indicies in the table (particularly after 'observing' the altered sequence).

It is possible that some user is 're-arranging the table through the 'sort' buttons on the menu bar -and saving the table without realizing that the change is thus 'permanant'.




MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top