Failure to create Paradox DB file from VC++ 
Author Message
 Failure to create Paradox DB file from VC++

I am trying to create a paradox db file from Visual C++.   I
am using code which follows.On Append, I get a message - too many fields.
If I do not try to set the fields, on append I get message that
this operation not possible for this object.Any suggestions?
 CDaoDatabase* pNewDb = new CDaoDatabase;
                  TRUE,           //exclusive?
                  FALSE,           //read only?
                 "Paradox 3.x;");   //connect string
 CDaoTableDef CurrencyTableDef(pNewDb);
 CurrencyTableDef.Create("Currency",0, "curtab",
                   "Paradox 3.x; DATABASE=e:\\vcpp\\experiments\\paradox");
  CurrencyTableDef.CreateField("currency", dbLong,
   0, dbFixedField | dbUpdatableField);
  CurrencyTableDef.CreateField("country", dbLong,
   0, dbFixedField | dbUpdatableField); CurrencyTableDef.Append();
 delete pNewDb;

Mon, 03 Sep 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Creating Paradox db file from vc++

2. Creating a DB in vc based on existing DB

3. Creating a DB in vc based on existing MS Access DB

4. exists: Paradox or dBase OLE DB Provider ?

5. Creating DB in VC

6. Plans for Paradox SQL / Paradox "Engine"

7. QUESTION : Paradox Engine & Paradox tables

8. create access db file

9. Creating Database files using OLE DB

10. Create Index failed using Paradox 5

11. Accessing both Access db and SQLServer db faster from VC++

12. creating paradox tables


Powered by phpBB® Forum Software