Do the data files exists? If so, you should add the "IN DICTIONARY" clause to the statement. Also, when the ERP system is updated do all of the DDFs get updated (FILE.DDF, FIELD.DDF, INDEX.DDF as a start)?
__________________
Mirtheil Software
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.