Closed Thread
Results 1 to 2 of 2

bulk query dbf

  1. #1
    Registered User
    Join Date
    05-24-2020
    Location
    argentina
    MS-Off Ver
    office 2016
    Posts
    9

    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
    let
    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]"])
    in

    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,
    Cheers.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,336

    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: https://www.excelforum.com/excel-gen...query-dbf.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

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