+ Reply to Thread
Results 1 to 2 of 2

Keep Log of the volume of data transference between Excel and Access

  1. #1
    Registered User
    Join Date
    11-28-2011
    Location
    Barcelona
    MS-Off Ver
    Excel 2007
    Posts
    74

    Keep Log of the volume of data transference between Excel and Access

    Hello,

    I am trying to test the performance of my excel application. It is an excel front-end that obtains its data from an access database.

    I would like to create a text file (this part is already programmed) where to include how much information in Kbytes is tranferred from the access database to the excel frontend. It must reflect the volume of information.

    I have checked if the ADODB connection/recordset objects have a property/method that might measure the size of the transferred data with no sucess.

    I would much appreciate your assistance in this issue.
    Last edited by RagonichaFulva; 01-20-2012 at 06:06 AM. Reason: Solved

  2. #2
    Registered User
    Join Date
    11-28-2011
    Location
    Barcelona
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Keep Log of the volume of data transference between Excel and Access

    I solved it with the stream object.

    We save the recorset with the SAVE method into a stream object and the stream object has the SIZE property that gives you the size in bytes.

    If it is a recordset that we must use to updeta, nevertheless, we must clone the recordset into another recordset (the recordsets must be indexed, so Option 2 is not valid tobe cloned) in order to avoid an update error. So we clone it into another recordset which we save into a stream object.

    Hope this helps someone. I can post an example code if needed.

+ 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