Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lovallee

    VBA - feed Excel pivot table from DAO recordset

    Effectively SkipVought, the memory leak issues arise because the workbook is opened. However, having the data in the same workbook as the related pivot tables makes thing so much easier for the different users of this file. I have been using SQL on the active workbook to feed pivot tables for...
  2. lovallee

    VBA - feed Excel pivot table from DAO recordset

    Well, thank you for the answer. But nonetheless all "DAO versus ADO" discussions that I found on internet concludes that when the source database is MS Excel, DAO is 1) faster and 2) does not have the memory leak problem (Microsoft kb319998). Yes DAO its older, but since DAO is apparently...
  3. lovallee

    VBA - feed Excel pivot table from DAO recordset

    Hello, I have the code below that is used to feed a pivot table cache with a DAO recordset. The code was from a similar macro used with ADO. However the code fails at: Set Workbooks(ActWbk).Worksheets(ActSht).Range("MainPivot").PivotTable.PivotCache.Recordset = DAOrs Error is: Run-time...
  4. lovallee

    SQL LEFT JOIN to return only first matching instance

    R937, your are the pro! Thank you very much!
  5. lovallee

    SQL LEFT JOIN to return only first matching instance

    Hello, I have been searching for a way to get my expected results but with no luck so far. Question: my LEFT JOIN operation can result more than one match but I only want the query to return the first matching instance (see sample below). Is that possible? Table1 Field1 Field2 A D B D C...

Part and Inventory Search

Back
Top