adodb.recordset

  1. H

    ADODB fetch all records into client machine virtual memory

    I am using ADODB C++ for Execute Query like Select * from table. This table having the large data around 4GB. So when i Execute Query then it is fetching all the records and increase heap memory and load all the records on the client machine virtaul memory. this is my code // **Create...
  2. MCTampa

    VBA to Specify Entries in PCOM Emulator

    Ok, this shouldbe the last thing I need help on. Thanks to those who helped thus far, my project is pretty much done. Here is my issue: I have a form where users can enter multiple resorts and dates for which theywant to perform an action. The form locks the values in a table called Log. My...
  3. J

    VBA code open access database

    My access database does not open. Any clue why? I have put refence to Microsoft activeX data objects 6.1 Library. I use Microsoft access 2016: sub copydata() dim accessdb as adodb.connection dim accessdata as adodb.recordset set accessdb = new adodb.connection set accessdata = new...
  4. I

    Exporting Data from Excel (Dynamic Range) to Access Table

    Hi all, I am having trouble in the below code its keep getting me error on line rst.Fields(Cells(1, i).Value) = Cells(x, i).Value i dont know what the problem is please help me out. the complete code is here Sub Export_Data() Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim dbPath...
  5. H

    Using VBA to pull info from various (around 5 Workbooks) into 1 big table using a Prime Ref Code

    I can use an ADODB.Recordset to bring data from a Named Range from a specific Workbook, however what I would like is the Final Presentation Table to bring the different data (columns) for each Prime Reference Code (so the final table might only have 40 predefined) and it will only pull in that...
  6. A

    Can you query a worksheet in active workbook?

    As in sql= "some sql" and get the results back in a recordset? If yes, are there any code examples ? I have added the Reference to allow "Set xx = New ADODB.Recordset" but no further. Do you perhaps have to open a connection to the workbook? Using Excel 2007. Thanks.
  7. S

    Import resultset from select query in .sql file to excel using VBA

    Hello Excel Experts, First time poster here - long time lurker, but this is about to change. I am having an issue with the following VBA code, which is supposed to do the following: 1) Connect to SQL Server 2) Use .sql file on network-drive to extract the desired select statement (sql-code) 3)...
  8. P

    Managing querytables, connections, recordsets

    HI ALL, FIRST OF ALL, SORRY ABOUT MY ENGLISH, IM NOT AMERICAN. I HAVE AN ADODB.CONNECTION, FROM I QUERY DATA USING AN ADODB.RECORDSET, SO I ADD A QUERYTABLE TO PASTE THIS DATA ON MY SHEET USING REFRESH. I HIGHLY WANT THAT THIS QUERYTABLE REFRESHS ALONE, SO THE DATA IS UPDATED WITHOUT THE NEED...
  9. M

    ADODB SQL Statement ORDER BY Statement

    Hi, I have been reading a lot about ADODB but I couldn't figure my problem. I hope someone here can help. I have an Excel Sheet which I use as Database. The database has 11 columns and I insert data with the following function: Sub testInsert() Dim adoCommand As New ADODB.Command Dim...
  10. T

    Query my Access 2007 Query in Excel 2007 VBA

    Working in Access 2007 and Excel 2007.... I have an .accdb (WellCardPilot.accdb) that pulls information from multiple tables (some linked, some built into the DB). The following code works fine to return all records from a query called BridgeportWellCard to a specific worksheet in Excel (Sheet...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top