Unique CHOOSE values

fernando.olmos at hpa.com.au fernando.olmos at hpa.com.au
Tue Aug 15 17:39:43 CDT 2006


Darren,

Thanks for that. I tried it but unfortunately we require the user to be
able to enter as many Invoice Numbers as they want, but of course we're
trying to get them to enter in unique values. We need to disallow the
user typing the same value in more than once.

i.e.

Enter Invoice Number(s): 1234
Enter Invoice Number(s): 1235
Enter Invoice Number(s): 1236
Enter Invoice Number(s): 1234	<-- this should not be allowed
Enter Invoice Number(s):


-----Original Message-----
From: darren.reely at latticesemi.com [mailto:darren.reely at latticesemi.com]

Sent: Wednesday, 16 August 2006 4:12 AM
To: Fernando Olmos
Cc: powerh-l at lists.sowder.com
Subject: Re: Unique CHOOSE values


I think you want to use NOGENERIC, such as

    choose field nogeneric parm prompt "enter field: " 1 time ;;limited 
to 1 entry.

Unfortunately this still allows someone to enter a wild card in the 
entry string. Unless your data has wild cards, it won't match. To 
disallow that, you'd likely have to have a preliminary pass that would 
edit check the entry. We would do that in our report request screens.

Darren

fernando.olmos at hpa.com.au wrote:
>
> Is there a way to tell Powerhouse to accept only unique CHOOSE values
> at run time?
>
> Thanks in advance.
>
**********************************************************************
IMPORTANT
The contents of this e-mail and its attachments are confidential and intended
solely for the use of the individual or entity to whom they are addressed.  If
you received this e-mail in error, please notify the HPA Postmaster, postmaster at hpa.com.au,
then delete  the e-mail.
This footnote also confirms that this e-mail message has been swept for the
presence of computer viruses by Ironport. Before opening or using any
attachments, check them for viruses and defects.
Our liability is limited to resupplying any affected attachments.
HPA collects personal information to provide and market our services. For more
information about use, disclosure and access see our Privacy Policy at
www.hpa.com.au
**********************************************************************



More information about the powerh-l mailing list