Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Multiuser / Networking / September 2003

Tip: Looking for answers? Try searching our database.

need advice for how to do this:

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
djc - 11 Sep 2003 17:02 GMT
need to add what could be in some cases a large number of records to a
table all in one operation. It would be from an access front end linked to
sql server2000 backend table (jet-connected ODBC).

I will be keying off of one field in one recordset to use as the key field
in the new records I need to add to the backend table.

which would be faster:
A. loop through my recordset and .addNew each record individually directly
to the BE table.
OR.
B. loop trough my recordset and create a local table. Then do some kind of
mass append operation?
OR
C. NO looping through recordset. Maybe an INSERT INTO or some kind of make
table query would be best? Then append the whole table to the target table?

Thanks in advance.
Jack MacDonald - 12 Sep 2003 16:23 GMT
In general, SQL operations are preferred to VBA looping. Therefore, I
would start with "C"

>need to add what could be in some cases a large number of records to a
>table all in one operation. It would be from an access front end linked to
[quoted text clipped - 14 lines]
>
>Thanks in advance.

=======================================================
Jack MacDonald
remove UPPERCASE LETTERS from email address              
Vancouver, B.C. Canada      
Info about MSAccess user-level security
www.geocities.com/jacksonmacd
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.