Closed Thread
Results 1 to 2 of 2

bulk query dbf

  1. #1
    Registered User
    Join Date
    MS-Off Ver
    office 2016

    bulk query dbf

    Good morning, I am still trying to create a massive connection for tables in DBF and I am not able to find a solution, to see if any one can help me a little
    I have an excel with a list of branches, in column F of that excel I have the names of each of the databases that I need to bring.
    I would need to make a query that opens that excel, goes through column F (I calculate that with a for or while) and replaces the base name in the query path.

    As I imagine:

    load Locals.xlsx
    for i Locals row X
    BASE = ColumnF.Row
    next i
    Source = OleDb.DataSource ("Provider = Microsoft.ACE.OLEDB.12.0; Data Source = C: \ Users \ matiasvizzari \ Documents \ Lince \ (BASE) \ DBF \; extended properties = dBASE IV",
    [Query = "select * from [ctb.dbf]"])

    Sorry for the horrors in the example of how I imagine it, but it is because I have no idea how to express it correctly.
    From already thank you very much,

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 10)

    Re: bulk query dbf

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread:

    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] bulk query .DBF??
    By matvizzari in forum Access Tables & Databases
    Replies: 11
    Last Post: 06-18-2020, 08:54 AM
  2. Excel Power Query Refresh or Access Query - 2nd Query Run is faster
    By Steveapa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2020, 10:16 AM
  3. [SOLVED] how do you unsubscribe in bulk?
    By TheVolkinator in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-13-2017, 03:17 PM
  4. [SOLVED] Validating bulk of url`s
    By v4ashish in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2016, 08:46 AM
  5. Bulk Export to PDF
    By zincoxide in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2015, 09:14 AM
  6. IF/THEN on Bulk Orders (1-14,15-49, etc)
    By LonelyAtTheTop in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-28-2014, 11:55 AM
  7. Transpose in bulk
    By Daisy10 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-27-2008, 02:26 AM

Tags for this Thread


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