ddreese Posted May 6, 2003 Posted May 6, 2003 I have a button on my layout to "find record". All it does is go to a different layout, and enter find mode. I have a 'find' button on that layout that runs a script that takes the user to another layout, which lists the found set. The users here are really big on pressing enter, and not clicking a button. When they press enter, it performs the find in the current layout, instead of running the script that takes it to the list layout. I know it's because the focus of the enter key is on the "find" button on the status area to the left, and I don't know how to make it... NOT do that... Is there any way I can make is so that the "enter" button will run the script that performs the find and goes to the different layout?
cjaeger Posted May 6, 2003 Posted May 6, 2003 make a custom find request by letting users enter into global fields, then make a script which enters this info into a find request and performs the find. omitting records can be kind of tricky, but otherwise its dead simple.
ddreese Posted May 6, 2003 Author Posted May 6, 2003 So I will have to create a global field for each field that I want to be serachable?
cjaeger Posted May 6, 2003 Posted May 6, 2003 sorry, here is a better way: the script is go to layout, "Find" activate search (don't click pause, no predefines) pause script , indefinite search (no predefines) go to layout "xxx" (i often prefer globals because i want to keep a search history, marking keeping the found set ...)
ddreese Posted May 6, 2003 Author Posted May 6, 2003 Thanks, that worked great. It's kinda weird how that works, though... Thanks!
Newbies Lee Shields Posted July 22, 2003 Newbies Posted July 22, 2003 Help I have this same problem, could you explain your script a little more for me, im clearly an idiot! I too have a script that enters search mode on opening a DB, then 3 searchable fields, and a search button. As you say people always hit enter and screw things up I tried interpreting the steps you list but to no avail Any help would be much appreciated Thanks Lee
Recommended Posts
This topic is 7794 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