What version of Pervasive? If it's V8, you can use the TOP keyword. Just out of curiosity, why are you wanting only the first record in a result set?
__________________
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.