Tom,
Getting the error "record deleted" occurs when/where you create a recordset (dynaset) and delete records which you then 'traverse'. In my experience, I usually would use the source (your treeview) and set it up to only show records which i wanted to operate on. If the operation was to 'delete' the records, I would just collect them in a 'batch' and do a delete query on the whole (enchalida). I would not normally set up a user accessible control to select records for different manipulation, and thus don't see the record deleted err. I do not know any specifics of your app, but I suspect that you are using the treeview to do different operations on records without refreshing the underlying recordset. Thus "deleted" records remain in the recordset and your app traverses the recordset, triggering the error. If this is the situation, I don't know of a soloution other than your error trapping or refreshing the recordset after the operations (especially the delete).
MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over