CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 1999
    Posts
    2

    How to create a simple *.dbf file ?

    Does anybody knows how to simply create a *.dbf (dBaseIII+) file, using code in VC++ 6.0 ?
    I need to create the file, put the column headers and then put the datas. Is there an easy way with a command like "printf" ?
    Thanks in advance for your help.

    Alan


  2. #2
    Guest

    Re: How to create a simple *.dbf file ?

    You can use odbc api
    SQLExecDirect(hstmt ,string,SQL_NTS) to create a *.dbf file.
    the string is a sql command such as "create table...".



  3. #3
    Join Date
    Jun 1999
    Posts
    2

    Re: How to create a simple *.dbf file ?

    Where can I find such examples ? Do you have any examples you can send to me ?


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