![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi Everyone, I have a script that is designed to automatically generate an email and put it in my outbox. Instead of having this script sent when a button is pressed, how can I make it run when I close the database? Is this (or something like it) possible? Thanks in advance. |
#3
| |||
| |||
|
|
Hi Everyone, I have a script that is designed to automatically generate an email and put it in my outbox. Instead of having this script sent when a button is pressed, how can I make it run when I close the database? Is this (or something like it) possible? Thanks in advance. |
#4
| |||
| |||
|
|
"Jameson" <jameson_ray (AT) comcast (DOT) net> wrote in message news:1123943312.635357.296960 (AT) f14g2000cwb (DOT) googlegroups.com... Hi Everyone, I have a script that is designed to automatically generate an email and put it in my outbox. Instead of having this script sent when a button is pressed, how can I make it run when I close the database? Is this (or something like it) possible? Thanks in advance. In FM 7, File, File Options. Before that, Edit, Preferences, Document. |
#5
| |||
| |||
|
|
In article <zGsLe.7532$ns.3775 (AT) newsread1 (DOT) news.atl.earthlink.net>, "Shadenfroh" <shadenfroh (AT) yahoo (DOT) com> wrote: "Jameson" <jameson_ray (AT) comcast (DOT) net> wrote in message news:1123943312.635357.296960 (AT) f14g2000cwb (DOT) googlegroups.com... Hi Everyone, I have a script that is designed to automatically generate an email and put it in my outbox. Instead of having this script sent when a button is pressed, how can I make it run when I close the database? Is this (or something like it) possible? Thanks in advance. In FM 7, File, File Options. Before that, Edit, Preferences, Document. Specifically, there's an option to run a script on closing the file - this is run when the file is closed (by the window gadget, the File menu command or a script command) and when FileMaker is quit. This option runs the script EVERY time the file is closed, so if you only want the script run once per day (for example) you'll need to program that functionality into the script itself (eg. have a Global field that is set to today's date when the script has finished and use an If statement to check that Global field isn't already today at the start of the script). |
![]() |
| Thread Tools | |
| Display Modes | |
| |