Dorris,
Can you move the method that defines whether delete is allowed to the form ?
If the toolbar calls a method of the form, it will be executed in the form's datasession. Hence there's no need to switch datasessions back and forth in the toolbar
Gregory