Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / FileMaker Topics / January 2004

Tip: Looking for answers? Try searching our database.

run script on entering a field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DavidF - 27 Jan 2004 20:53 GMT
Is there any way to execute a script automatically when you enter or exit a
field in Browse mode?

Thanks,

David
Jens Teich - 27 Jan 2004 21:44 GMT
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
Mimi - 31 Jan 2004 13:44 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.