> Interesting. In testing, I found that if I clicked out of a field
> being edited and then clicked into another field I got the same error.

You will unless you commit the record along the way. It's still open. 
There is a function called Get(RecordOpenState) that you can use to 
trap for the state of the record:

0-->closed or committed
1-->new record but not committed
2-->modified record but not committed

These, along with the Record Modification Count function, were 
particularly designed for use with external API access to FileMaker Pro 
records.

HTH

Steven
-- 
Steven H. Blackwell
Partner Member, FileMaker Solutions Alliance
FileMaker 8 Certified Developer
FileMaker 7 Certified Developer
_________________________________________
"The commitment of our Fathers is now the calling of our time."
_________________________________________

FileMaker Security:  The Book
http://www.filemakersecurity.com