Use the Dup Key in Subfiles
September 2, 2009 Hey, Ted
I hope you don’t mind another question about the “old” stuff. How do I program for the Dup key in a data entry subfile? –David This is a good technique to know, David, and it’s not hard to do. Let’s start with a simple subfile of 10 records per page. There are three input fields: a date; a customer number; and an amount. Here’s the DDS: A DSPSIZ(24 80 *DS3) A INDARA A R SFL SFL A SDATE 6S 0I 8 6DUP(31) A SCUST 8A I 8 16DUP(32) A SAMOUNT 7Y 3I 8 30DUP(33) A R CTL SFLCTL(SFL) A SFLSIZ(12) |