May 6, 200322 yr 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?
May 6, 200322 yr 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.
May 6, 200322 yr Author So I will have to create a global field for each field that I want to be serachable?
May 6, 200322 yr 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 ...)
May 6, 200322 yr Author Thanks, that worked great. It's kinda weird how that works, though... Thanks!
July 22, 200322 yr Newbies 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
Create an account or sign in to comment