The error indicates you have an invalid date or timestamp value. Most likely this is an invalid date. Microsoft defines a valid ODBC date as having a month of 1 to 12, day of 1 to 31 dependant on the month and a year of 0000 to 9999. If your date has 00-00-0000 then this is an invalid date. You'll need to look at the dates to find which one is causing the problem. You might be able to find this by using the Pervasive Control Center and opening the tables in "Text" mode (not the grid mode). The bad dates will show as "<invalid date>".
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.