DerFarm
Programmer
- Mar 10, 2003
- 25
Code:
strTemp2 = CreateLinkedAccessTable(TargMDB, "PartA", TempMDB, "TempPartA") 'creates a linked table
sqlTemp0 = BeneZip() 'Returns a SQL string
For intTemp0 = 1 To 100
DoEvents
Next 'Supposed to make sure everything gets done
TempConn.Execute (sqlTemp0)
[\code]
The linked table IS there .. I can open the database and see it.
The sqlTemp0 string DOES work. I can cut it into a query and it functions.
the for ... next loop is simply to make sure that the operating system has time to do everything it needs to. It was put there in desperation.
The execute statement ALWAYS bombs the first time. I can wait 15 minutes and it will bomb. It will ALWAYS work the second time (debug and then continue). It claims that it can't find a file (the linked file)
any suggestions?