Suppressing unwanted warning dialog box
Here's the situation: I have a screen with a portal. The user types information into the first portal cell and then presses Tab, expecting the cursor to wind up in the second portal cell for input, but instead the cursor just loses focus (there are no other input fields on this screen). Then on the first keystroke, the ubiquitous "Before typing, press Tab or click in a field, or choose the New Record menu command." warning box comes up.
I've had success using the "Set Error Capture On" script step in suppressing other warning messages, so I attached this to an On Layout Enter script trigger, but it doesn't work. I don't want this message coming up every time the user hits a key when the cursor isn't in a field - it's much better that they hit a key and have nothing happen than to have them see this message and be forced to click OK.
So...I'm hoping there's some way to prevent this message from coming up in these situations, but how??