Pauldohert
Something in here
- Local time
- Yesterday, 23:52
- Joined
- Apr 6, 2004
- Messages
- 2,101
I am linking to a csv file with the following
Which works fine - except that I intermitently get error 3501 - ie file is already open or user needs permissions. Neither or which seems to be true - as on subsequent tries it eventually works OK.
THis seems to happen when file has circe 50k records , not when it has 100 records.
Any ideas whats causing this - and how to get round it.
Ta
Code:
Me!JobHolder = mID
DoCmd.DeleteObject acTable, "TempTPSCSV"
On Error GoTo Err_Handler
DoCmd.TransferText acLinkDelim, , "TempTPSCSV", Me!FileSelected, True
Which works fine - except that I intermitently get error 3501 - ie file is already open or user needs permissions. Neither or which seems to be true - as on subsequent tries it eventually works OK.
THis seems to happen when file has circe 50k records , not when it has 100 records.
Any ideas whats causing this - and how to get round it.
Ta