Update problems

Update problems

Post by Alan Hoo » Thu, 09 Dec 2004 05:33:31

I have a form with some text controls bound to fields in a table.

I have a timer on the form that looks at the edit mode. This means I do not
have an 'Edit' button but monitor if fields have been changed using the

The problem is that if the user modifies a field and then closes the form
using the mouse the edit mode is still editNone. It seems that unless
another component on the form is selected this is the case.

Is there anyway to force the edit mode into it's true status. I have tried
set focus to another component in the form unload routine but this does not
work. On closeing, the form updates the record (so the edit mode must be
correct somewhere).

Alan Hood