CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 1999
    Location
    Québec (Canada)
    Posts
    210

    Open dbf file with Data object

    How can I open a dbf file (FoxPro) when the name of table was bigger than 8 characters?

    Ex: toto.dbf was good but totototot.dbf was not good.

    Thanks
    Redg

    Sorry for my bad english


  2. #2
    Join Date
    Jun 2001
    Location
    Sri Lanka
    Posts
    272

    Re: Open dbf file with Data object

    did u try with a data source name given in ODBC and selecting that instead of the file name?
    Srinika

    If u don't know how to Rate an answer, then Rate my answer to learn, If u know, then practice it

  3. #3
    Join Date
    Aug 1999
    Location
    Québec (Canada)
    Posts
    210

    Re: Open dbf file with Data object

    How can I use ODBC ?

    Thanks
    Redg


  4. #4
    Join Date
    Sep 2001
    Posts
    4

    Re: Open dbf file with Data object

    dear regis
    i'm also trying to access dbf files throu' VB6.0 but it's giving error that you don't h've right or its open (set exclusive off)Can you help with code
    Thanx for all support being provided

    Girish P



  5. #5
    Join Date
    Jun 2001
    Location
    Sri Lanka
    Posts
    272

    Re: Open dbf file with Data object

    In the control panel u will find ODBC. Go to that and select FoxPro as the data type give a Data Source Name (any name u like) and select the path of the .dbf file.

    Then use that Data source name within VB to access ur FoxPro database.
    Srinika

    If u don't know how to Rate an answer, then Rate my answer to learn, If u know, then practice it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured