To perform a script while entering a field you can connect the script
directly with the field. Removing the field from tab order prevents it from
beeing entered other then by mouse click.
To perform a script while leaving a field you might try to catch the user in
a loop. Unfortunately this is very embarrassing for the user because he
doesn't understand what is going on.
Alternatives are PlugIns, which start scripts when field values are changed.
Jens

Signature
www.jensteich.de
> Is there any way to execute a script automatically when you enter or
> exit a field in Browse mode?
>
> Thanks,
>
> David
ben polit - 30 Jan 2004 17:14 GMT
Have user enter data using the custom dialog function in script , you can
then follow this with any other things you want to do afterwards. You can't
use valuelists, etc. using custom dialog so this may not be accepatable in
all cases. However you do have 3 buttons to provide 3 possible inputs or
actions by using the status(currentmessagechoice) variable or you can list
choices in the custom dialog.
> To perform a script while entering a field you can connect the script
> directly with the field. Removing the field from tab order prevents it from
[quoted text clipped - 14 lines]
> >
> > David
I found a simple method.
Clicking on the field triggers a script that Pauses. It waits for you to
enter data in the field, then when you hit enter, Resumes the script. The
rest of the script includes an evaluation of the target field, and branches
based on contents.
As long as your user hits Enter after filling in the field it works, so you
might need to use a popup or put an Enter button on the layout as a
reminder.
HTH
> Is there any way to execute a script automatically when you enter or exit a
> field in Browse mode?
>
> Thanks,
>
> David