jadams0173
Technical User
- Feb 18, 2005
- 1,210
I'm coping the table in question from another DB to my DB using VBA code. It is one of 4 tables that gets copied and is the last one in the sequence.
The next step is to run a DELETE query on the newly copied table. This is where I sometimes get the error: "The MS jet engine can't find the input table or query ------ ...."
The table existis because I just copied it. Is this a timing issue or something? The error does not occur every time. I will post the code if needed.
The next step is to run a DELETE query on the newly copied table. This is where I sometimes get the error: "The MS jet engine can't find the input table or query ------ ...."
The table existis because I just copied it. Is this a timing issue or something? The error does not occur every time. I will post the code if needed.
Code:
With cnn
.CursorLocation = adUseClient
.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & Path1 & db4 & ";" & _
"Jet OLEDB:Database Password="
.Open
End With
cnn.Execute "SELECT PRIMARY_LINE.* into PRIMARY_LINE_C IN '" & MyDB & "' FROM PRIMARY_LINE"
cnn.Close
Set cnn = Nothing
' DELETES ALL NONE 27053 ITEMS FROM PRIMARY_LINE_C
[red]DoCmd.OpenQuery "QRY_27053_ONLY", acNormal, acEdit[/red]