Novice here. Yoda are you there?
I have to be doing something wrong. My Link VBA procdure took way less time than my Import procedure. I hate to do this but here is the nub of my import procedure.
DoCmd.TransferDatabase acImport, "ODBC", "ODBC;DSN=LittleRedCI;ServerName=10.10.10.100.1583;ServerDSN=LittleRedEI;ArrayFetchOn=1;ArrayBufferSize=8;TransportHint=TCP:SPX;;TABLE=workord", acTable, "WORKORD", "WORKORD1", False
DoCmd.RunSQL "delete * from workord ;", 0
DoCmd.RunSQL "insert into workord select * from workord1", 0
DoCmd.DeleteObject acTable, "workord1"
The above is really slow. Why is is
something like:
DoCmd.TransferDatabase acLink, "ODBC", "ODBC;DSN=LittleRedCI;ServerName=10.10.10.100.1583;ServerDSN=LittleRedEI;ArrayFetchOn=1;ArrayBufferSize=8;TransportHint=TCP:SPX;;TABLE=workord", acTable, "WORKORD", "WORKORD1", False
so much faster?
Enlightenment, please.
I have to be doing something wrong. My Link VBA procdure took way less time than my Import procedure. I hate to do this but here is the nub of my import procedure.
DoCmd.TransferDatabase acImport, "ODBC", "ODBC;DSN=LittleRedCI;ServerName=10.10.10.100.1583;ServerDSN=LittleRedEI;ArrayFetchOn=1;ArrayBufferSize=8;TransportHint=TCP:SPX;;TABLE=workord", acTable, "WORKORD", "WORKORD1", False
DoCmd.RunSQL "delete * from workord ;", 0
DoCmd.RunSQL "insert into workord select * from workord1", 0
DoCmd.DeleteObject acTable, "workord1"
The above is really slow. Why is is
something like:
DoCmd.TransferDatabase acLink, "ODBC", "ODBC;DSN=LittleRedCI;ServerName=10.10.10.100.1583;ServerDSN=LittleRedEI;ArrayFetchOn=1;ArrayBufferSize=8;TransportHint=TCP:SPX;;TABLE=workord", acTable, "WORKORD", "WORKORD1", False
so much faster?
Enlightenment, please.