Hi guys,
I am trying to read a dBase file, using c++. The following snippet of code is used to check the first byte of a dBse file (whose version is unknown):
ifstream inFile("pat.dbf", ios::in|ios::binary);
unsigned char dBV = 0;
unsigned long id2 = 0;
inFile.read(&dBV,1); //...
Pretty much I am trying to open a .dbf file using c++, and convert it to some meaningful, readable .txt file.
Do you guys know anyplaces on the net etc that may give me a rundown on how to do this? I've had som epartial success, but for the most part I get jibberish.
Thanks
I am a form based on a query, At the moment the form displays customerID, I'd like to also add the corresponding productID, so I modified the underlying request, but because I've entered customers in my database who have not yet been given a product, therefore their productID does not yet exist...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.