Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 ADO AddNew and UpdateBatch Methods

Status
Not open for further replies.

rmaslanka

IS-IT--Management
May 15, 2001
11
US
Using VB6 and the Pervasive ODBC driver, I am finding the UpdateBatch method fails after I call the AddNew method to add a row to a table. I receive an error like "[Pervasive Software][ODBC Interface][Pervasive Software SQL Engine]The table is not defined in the dictionary". The UpdateBatch method works after simply editing entries in a form bound by code, but not after AddNew.

Ideas?

Unfortunately, I am much more familiar with Access and MS-SQL apps, so any guidance would be appreciated. I have checked but couldn't find a related topic.

Thanks.
 
First, it really matters which Pervasive ODBC version you are using. You should make sure you have the latest Pervasive.SQL 2000i if at all possible. You can apply SP3 to any version of Pervasive.SQL 2000 to update it.

Second, it may be that you are using and old database with old or inaccurate DDFs so you should try these methods on data in the DEMODATA. Also you should run the consistency check in PCC on the database and DDFs you are trying to use.


Third, you should post your query to DevTalk. There are also a couple of papers on ADO and OleDB on the Pervasive site which may help.

Pervasivite
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top