U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » how to read a dbf
Re: how to read a dbf [message #8201 is a reply to message #8200] Sun, 18 February 2007 13:09 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1221
Registered: March 2006
Location: Italy
Senior Contributor
Thanks, it is very useful.
Unfortunately I am not able even to open the file. This simple app:
#include <Core/Core.h>
#include <TCore/dbf.h>

using namespace Upp;

CONSOLE_APP_MAIN
{   DbfStream dbf;
    if(!dbf.Open("C:\\upp\\out\\MSC8\\club.dbf", false) ) {
		return;
	}
    //... to do something
    dbf.Close();
}

crash with error:

index.php?t=getfile&id=463&private=0

Perhaps some mismatch with the internal format of the file I'm trying to read (but I can open it with Excel).
Luigi
  • Attachment: pic2.jpg
    (Size: 7.96KB, Downloaded 919 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon4.gif
Read Message
Previous Topic: Cannot use *.mdb files
Next Topic: small patch for PostgreSQL
Goto Forum:
  


Current Time: Sun Apr 26 18:37:32 GMT+2 2026

Total time taken to generate the page: 0.00551 seconds