F45

From: Ian C. Sellers <ian_at_mystical.net>
Date: 1997/07/09
Message-ID: <33C3DB31.42B51DCA_at_mystical.net>#1/1


[Quoted] [Quoted] Anybody know an easier solution to this?

I have a bunch of 3.0 forms, now converted to 4.5. The 'required' property of the first two items in most of these forms, permit_year and permit_number, is true. That's cool -- these fields are required for the forms to function properly.

The problem is that once a form is called, if I try to exit or use new_form without entering any data in the current form, it gives a "FRM-40202: field must be entered" msg and then shows alert "Do you really want to close this form? YES/NO". I don't want my users to have to dismiss this message every time they call a new form and have not entered any data in the current form.

The only solution I've found so far is to change the 'required' properties to false on these first two items, and put WHEN-NEW-BLOCK-INSTANCE triggers on all other blocks to confirm that these first two items are not null and if so return navigation to them.

This works, but is messy, especially if there're too many other fields in the control block, --Then I'd have to put "WHEN-NEW-ITEM-INSTANCE" triggers on all the other items, instead of being able to deal with it at the block level.

Please.... give me a better way! (there must be one!)

-Ian C. Sellers
Conceptually Confused GIS Technician Received on Wed Jul 09 1997 - 00:00:00 CEST

Original text of this message