If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Paradox db via mfc

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-04, 17:15
bacho bacho is offline
Registered User
 
Join Date: Oct 2004
Posts: 2
Arrow Paradox db via mfc

Hi,

how can I access a paradox table using MFC-Library...

I thought it can be done like this:

CDaoDatabase datenbank;
CDaoRecordset recordset(&datenbank);
datenbank.Open("d:\\",false,false,"Paradox 3.x;");
recordset.Open(AFX_DAO_USE_DEFAULT_TYPE,"SELECT * FROM [artikel.db]", 0);
AfxDaoTerm();

But I always get an error message!
Reply With Quote
  #2 (permalink)  
Old 10-12-04, 00:07
pantaz pantaz is offline
Registered User
 
Join Date: Jul 2004
Location: So Cal
Posts: 14
What is the error message?
Reply With Quote
  #3 (permalink)  
Old 10-12-04, 11:36
bacho bacho is offline
Registered User
 
Join Date: Oct 2004
Posts: 2
its something like:
the table has not the expected struture!

(the errormessage is in german i tried to translate it!!!
die tabelle hat nicht die erwartete struktur)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On