June 21, 200619 yr I have an employees database and i'm trying to run a simple quick search without requiring the user to click any buttons (well... kind of). I have a Layout that displays a list of all the employees. In the header there's a Search Field (Text, Global). When you click on the Search Field there's a button that starts a script. The script takes you to the Search field and then it pauses indefinitely. The user types in the search criteria and... this is where i have the problem: once he typed the search strig i want the user to be able to just hit enter to run the search however if you hit enter it will just create a new line in the search text field, it won't resume the script that will actually run the search. If the user were to hit Ctrl+Enter or the Keypad Enter then everything's swell but regular, normal Enter just adds a line to the field. Any ideas on this one? See attachment for example. test.zip Edited June 21, 200619 yr by Guest
June 21, 200619 yr What you are looking for is event driven scripting. There is a shareware plug in here that will help Phil
June 21, 200619 yr Strictly speaking it's not shareware, it's freeware, but if you can afford to, donate to the guy, he's really nice and he is giving this to everyone for free.
July 5, 200619 yr I tried it as you sent it and I could do the search by hitting "enter" (as opposed to "return"). On one computer, it was the "Function" and "Return" key, and the other, there was an "enter" key.
Create an account or sign in to comment