× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Not sure if this would fit the bill, but why not use a for loop, reading
though the subfile and loading a data structure array? Once loaded,
sort the array on the customer number and then re-fill the subfile from
the sorted array. As you write each record see if the customer number
is like the previous customer number; if it is, set on an indicator for
RI. That way, if there is a duplicate, the user sees the other record
immediately and does not have to search for it.



Timothy Adair wrote:
Is there a subfile keyword/technique/simple way to require the values entered into a SFL to be unique. I don't suppose IBM built this feature into DDS? Or do I have to check the SFL programmatically?

I have a SFL where the user enters multiple pages of customer numbers and they can be in any order, they just can't enter the same number more than once.

Any and all thoughts on this are appreciated.

TA



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.