+ Reply to Thread
Results 1 to 1 of 1

Extend a report engine in Excel 2007 with VBA and storeprocedures?

  1. #1
    Registered User
    Join Date
    10-11-2010
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    2

    Extend a report engine in Excel 2007 with VBA and storeprocedures?

    Hi

    I amestimating to Extend a business system report engine in Excel 2007 with VBA and storeprocedures. My thought is that my Business system (ERP) has a key fields that isexported out into the Excel sheet but I am missing 5 fields in this particular report. This fields cannot be inserted by the standard report engine so I thought a buttonin Excel 2007 wil do the trick. So my question is wich oneof folloowing suggested approacheswill be the best out of a performance view:

    1) A macro that iterates through the existing data in the Excel worksheet to get the key Identities so that a stored procedure can be run for every one af the rows in the excel sheet and add the 5 missing fields

    2) Extract a big dataset from db instead of having a store procedure being executed for each and every row in the excel sheet. This dataset will then in turn be iterated by the macro so the missing 5 fields can be put ineach correct row by the macro

    3) any other suggestions?
    Last edited by skyltar; 10-11-2010 at 10:11 AM.
    ## Skyltar ##

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1