[AccessD] Acc used to resolve SQL Svr Excel prb

william.thompson1 at att.net william.thompson1 at att.net
Sun Sep 26 00:16:38 CDT 2004


List,
I have a question about refreshing files that, for various reasons, I'm reluctant to create a job to delete in order to replace the data in them.   I'm thinking that Access will be the desired tool to replace/contain data used in a multi-sheet workbook, but am not clear on a few things about SQL Svr refreshes.  (The workbook's format and sheets layout has to stay intact).

One of the steps in a DTS package is used to run a sql statement against the worksheet - but the sql statement doesn't do anything in this case - it was simply set up to fit into the context of a series of DTS packages for purposes of destructively refreshing sheets within a set of Excel spreadsheets on a file share based on a customized set of strings in DTS.  One package replaces the data in each worksheet.
  
Am I correct to assume that within the context of sql server data transfers that
1.)  An Excel spreadsheet is updateable but Not insert/deletable.
2.)  While the driver is fairly recent, Excel data can be only be pulled by worksheet, not pushed.  
3.)  Because the requirement that  four worksheets stay intact in each Workbook, the destructive refresh imposes a requirement that four Access tables must be used by a macro or some other auto process to reconstruct four worksheets.  In my humble yet slightly uncertain opinion.

I'm good to go on the Access app used as a container to push/ be pulled, but I'm wondering if I overlooked anything.  Temp tables are not the favored method either, so this option would be a last resort.  The data has to be somewhat 'linked' to the file that is generated each week.

Any comments/suggestions appreciated.  What would we do without Excel huh?

Bill Thompson


More information about the AccessD mailing list