I want to make sure two fields in a form have information (not null)
before allowing the used to go to the second table in the form.  I
understand how to care for this for one field, but what is the proper
way to check for multiple fields?  Below is what I am trying but if both
fields happen to be blank they still can go to the second table.

 

IF vPromocat IS NULL THEN

   PAUSE 2 USING 'You MUST Select Catagory!' CAPTION '  New Order
Request' ICON STOP

   SKIP TO Promocat

   RETURN

ENDIF

IF vShiptoState IS NULL THEN

   PAUSE 2 USING 'You MUST Select Catagory!' CAPTION '  New Order
Request' ICON STOP

   SKIP TO vShiptoState

   RETURN

ENDIF

 

 

Jim

Reply via email to