Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Efficient Excel to Access uploads

Hi.
I have an Access database for financial reports (actuals,
budgets, ...).
The data is uploaded from excel sheets (all validations are done in
excel sheets). One report contains about 10 sheets of data to be
uploaded to different access tables. It's about 300 rows and 50
columns in each sheet.

What is the most effective method to upload that amounts of data?
These sheets are not ready to be directly uploaded to Access, I need
to select specific columns to upload).
Now I'm just creating INSERT INTO statement for each cell and
executing it (using ADO).
I'm wondering if there is a better method, like working on recordsets
or temporary excel sheets (uploading whole table at once).
The current solution is too slow.
In addition - when someone else tries to upload some other data at the
same time, both uploads are frozen for several minutes... (the
database is saved on the network share).

Do you have any advice for such case?

Thanks
Best regards,
Kamil
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default Efficient Excel to Access uploads

If the format (file, sheet, column names) don't change from month to
month - i'd suggest linking those sheets into the Access db and then
executing there in Access append queries (can also be automated) that
would select the necessary columns and write those into the
appropriate tables.
Sure you can also connect to the Access tables as recordsets and keep
looping through excel sheets and AddNew to the recordset.
In my opinion, if the formats are static - linking the tables into
access is more efficient approach.

On Jan 5, 7:24*am, Kamil wrote:
Hi.
I have an Access database for financial reports (actuals,
budgets, ...).
The data is uploaded from excel sheets (all validations are done in
excel sheets). One report contains about 10 sheets of data to be
uploaded to different access tables. It's about 300 rows and 50
columns in each sheet.

What is the most effective method to upload that amounts of data?
These sheets are not ready to be directly uploaded to Access, I need
to select specific columns to upload).
Now I'm just creating INSERT INTO statement for each cell and
executing it (using ADO).
I'm wondering if there is a better method, like working on recordsets
or temporary excel sheets (uploading whole table at once).
The current solution is too slow.
In addition - when someone else tries to upload some other data at the
same time, both uploads are frozen for several minutes... (the
database is saved on the network share).

Do you have any advice for such case?

Thanks
Best regards,
Kamil


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel VBA Code more efficient Larry D[_2_] Excel Programming 1 March 17th 07 06:04 PM
Excel Randoming Becoming More Efficient blakrapter Excel Worksheet Functions 6 February 11th 06 12:37 AM
Cleansing for CRM uploads Daniel Dimmock Excel Worksheet Functions 0 April 14th 05 11:42 AM
Programming Excel -The most efficient way ibeetb Excel Programming 3 December 16th 03 06:34 AM


All times are GMT +1. The time now is 10:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"