Required Entry

fflynn@newfoundlandpower.com fflynn@newfoundlandpower.com
Thu, 16 Sep 1999 08:17:55 -0230


By using a PANEL mode screen and Block Transfer control structures this
should work by coding INPUT procedures for each field on the screen... such
as:

Procedure Input Field1
Begin
       If 0=size(fieldtext)
       then error 'Field1 is a required field'
End

The Input procedure for all fields on a panel mode screen should be
executed... regardless of containing data or not.

Frank

> -----Original Message-----
> From:	Nick Tippler [SMTP:NT204@cus.cam.ac.uk]
> Sent:	Thursday, September 16, 1999 2:38 PM
> To:	powerh-l@lists.swau.edu
> Subject:	Required Entry
> 
> Morning All
> 
> I have a Quick screen that reads primary and secondary records and
> displays the fields I want to populate or change.  Some fields will be
> populated, others null, depending on previous actions.
> 
> How can I make it go through all the fields and require entry for any
> missing data while still honouring the EDIT requirements?  I've tried
> PANEL, BLOCK TRANSFER and PROMPT in various combinations, but none does
> what I want.  I'm running 8.13D1 on HP-UX D10.20.
> 
> Regards
>  
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +
> + Nick Tippler                                  nt204@cam.ac.uk
> + Registrar, Faculty of Education,          tel +44 1223 507145
> +            University of Cambridge,       fax +44 1223 507140
> +            Homerton College,
> +            Cambridge CB2 2PH
> +
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> =
> Subscribe: "subscribe powerh-l" in message body to
> majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
> This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.