I can't get data from a Visual Foxpro database with Excel.

bhf 0 Reputation points
2023-03-30T16:58:36.7+00:00

I have spent considerable time researching this on the internet. I have tried all the solutions I can find, none of them are resolving the issue. Can someone help me with this?

Microsoft 365 and Office | Excel | For business | Windows
{count} votes

2 answers

Sort by: Most helpful
  1. Ed Pecyna 5 Reputation points
    2023-04-06T03:17:24.0133333+00:00

    If you are trying to get data from VFP into Excel, I was able to retrieve VFP data by doing this in Excel 2013:

    1. Open a blank workbook.
    2. Click Data > Get External Data > From Other Sources > From Microsoft Query
    3. Database tab > <New Data Source > OK
    4. Create New Data Source: 1. data source name, e..g. VFP, 2. Microsoft FoxPro VFP Driver (*.dbf), 3. Connect Free Table directory
    5. Browse for a VFP table, e.g. foxcode.dbf
    6. Go through the wizard to select fields, etc. and Return Data to Microsoft Excel. Finish
    7. Select option to put data in the Excel sheet.

    Screenshots: User's image

    User's image

    This was done using Excel 2013, VFP 9 table and a MS VFP driver. Regards, Ed

    1 person found this answer helpful.
    0 comments No comments

  2. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2023-03-31T07:38:04.1233333+00:00

    Hi,

    Did you try this method?

    https://github.com/MicrosoftDocs/sql-docs/blob/live/docs/odbc/microsoft/importing-data-into-microsoft-excel-from-a-visual-foxpro-database.md

    https://github.com/MicrosoftDocs/sql-docs/blob/live/docs/odbc/microsoft/accessing-a-visual-foxpro-data-source-from-microsoft-excel.md

    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.