>hi hilmar,,, thanks for the quick reply.. i did.. set deleted on is placed before setfocus and refresh.. deleted() returns true..
deleted() is not the same as set("deleted"). deleted() tells you whether the current record is deleted. set("deleted") tells you the setting of SET DELETE.
However, your explanation would eliminate the main suspect: that you SET DELETED ON outside of the form.
I don't have any further ideas, for now.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)