pmusaev Posted October 30, 2003 Posted October 30, 2003 how do i setup a script to run on 'open'? i would like to limit the amount of records shown to users by finding only records pertaining of interest to them. i basically have to "Find records where FIELD equals VALUE" but i want this done automatically to increase user experience. any ideas? cheers!
-Queue- Posted October 30, 2003 Posted October 30, 2003 Edit->Preferences->Document Select the General tab and then define your on open options.
pmusaev Posted October 30, 2003 Author Posted October 30, 2003 WOW! that was quick and to the point! thank you VERY much!
Anatoli Posted October 30, 2003 Posted October 30, 2003 Startup script is not executed, if the file is opened from relation or by calling script.
pmusaev Posted October 30, 2003 Author Posted October 30, 2003 i can't seem to perform a script that will find certain records automatically... any ideas?
-Queue- Posted October 30, 2003 Posted October 30, 2003 Perform your find manually. Create a script with Perform Find [Restore] in it. If you ever need to change the criteria, perform another manual find, open the script, close it, and select 'Replace' to the Find requests option.
-Queue- Posted October 30, 2003 Posted October 30, 2003 Startup script is not executed, if the file is opened from relation or by calling script. ...unless the calling script uses an Open ['Filename'], of course.
Anatoli Posted October 30, 2003 Posted October 30, 2003 Sure they will be cases when yes and when not IMHO -- better is to open all files in single starting file. That gives better control.
-Queue- Posted October 30, 2003 Posted October 30, 2003 Or, to test for the existence of a file that might not currently be open, and open it if necessary: If [not PatternCount("
Recommended Posts
This topic is 7698 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now