|
I like to make programs that are very similar to IBM's maintenance screens. In other words, subfile display with options (2=change, 3=copy, 4=delete,etc..etc..) and to add, Use a function key. F6. Most of the time it works out great. For deleting, making the "confirmation page" is really quite simple as well. Bradley V. Stone Taylor Corporation - OASIS Programmer/Analyst bvstone@taylorcorp.com > -----Original Message----- > From: Rajan.Srinivasan@Allfun.com [SMTP:Rajan.Srinivasan@Allfun.com] > Sent: Tuesday, June 08, 1999 11:47 AM > To: MIDRANGE-L@midrange.com > Subject: Better way to code a maintenence program ILERPG > > > > Hello all, > I am just trying to write a maintenence program > for a > data file which has only two fields. I just want to know the > better way of desiging that. The user said they dont want a main > screen like > to select an option 1, 2, 3, etc to avoid back and forth. > > So, I thought of designing subfile like the one at the bottom, which > displays > the existing records and input fields to enter new record. If they want > to > update they just go and overwrite on the respective record. If they want > to > delete, they press F4 and a Screen 2: will diplay with protect *On. If > they > select few records to delete, the selected records will be displayed > again as > OUTPUT , and Confirmation is asked to delete. > > > > Any suggestion to better of way doing this. > > > Thanks > > Regards > Raj > > > > SCREEN 1: > > > > > MAINTENENCE OF FIELD1 AND FIELD2 FOR TRAIL BALANCES > > > ADD/UPDATE > > > __________________________________________________ > FIELD1 FIELD2 > > -------------------------------------------------------------------------- > --------------- > > > 1 150 > 111 121010 > 151 15071 > 152 1 > 153 20053 > ___ ____ > ___ ____ > ___ ____ > ___ ____ > ___ ____ > > More... > > > F3-Exit F4-Delete > > > > MAINTENENCE OF FIELD1 AND FIELD2 FOR TRAIL BALANCES > > > DELETE > Enter Option 4 to delete > ___________ _____________________________ > OPTION FIELD1 FIELD2 > ---------- ----------------------------------------------------------- > > _ 1 150 > _ 111 121010 > _ 151 15071 > _ 152 1 > _ 153 20053 > _ 160 1240 > _ 180 1542 > _ 181 1240 > _ 224 354 > _ 464 56 > > More... > > > F3-Exit F4-Add/Update > > > > > > > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.