comicwizard
Registered User.
- Local time
- Today, 01:18
- Joined
- Mar 24, 2011
- Messages
- 15
Hello all,
I have a database with a piece of code that worked up to today.
My database connects to sql server. I use cross over queries to run the queries and the queries make temp tables. In the vb code I added one additional query between 2 other queries. then the import stopped working and gives a run time error 3011. The piece of code that no longers is this:
DoCmd.TransferDatabase acImport, "ODBC Database", "ODBC;DSN=SQL 2;Description=SQL2;DATABASE=tempdb;StatsLog_On=No;" & _
"DATABASE=tempdb", acTable, "##BiddingTOD", "LocalTOD"
The new query is extremely simple and shouldn't cause any troubles. It just updates 3 fields in a ##Temp table and the next query takes that table and does more things with it.
I haven't been able to figure this out.
I have a database with a piece of code that worked up to today.
My database connects to sql server. I use cross over queries to run the queries and the queries make temp tables. In the vb code I added one additional query between 2 other queries. then the import stopped working and gives a run time error 3011. The piece of code that no longers is this:
DoCmd.TransferDatabase acImport, "ODBC Database", "ODBC;DSN=SQL 2;Description=SQL2;DATABASE=tempdb;StatsLog_On=No;" & _
"DATABASE=tempdb", acTable, "##BiddingTOD", "LocalTOD"
The new query is extremely simple and shouldn't cause any troubles. It just updates 3 fields in a ##Temp table and the next query takes that table and does more things with it.
I haven't been able to figure this out.