QUICK Screen Occurrence Checking

Carol Kaffenberger kaffenbe@karmanos.org
Fri, 12 Oct 2001 12:14:07 -0400


I'm having trouble with a QUICK screen that is allowing
duplicate values to be entered for a field.  The logic works
fine if the value is already updated in the file--the
duplicate value is trapped.  The problem occurs when the
value is added more than once on the same screen and that
value does not exist in the file.

For example:


      City#             City
Name                                Zip

01 1005 820200 ALLEN PARK                   02
48101              This value already exists in the file

03 48222              This value does not exist in the file

04 48222              This value does not exist in the file

05

06

I have other programs that trap this situation and give the
message "This is the same key/index value as occurrence
(03)".  I would like the same thing to happen here, but I
have no idea what makes QUICK do this (because it is
definitely not something we are coding).

Can someone explain how this works.

Thanks.

(MPE/ix 6.0, PH 8.39.C)

--
Carol Kaffenberger
Karmanos Cancer Institute
Detroit, Michigan