|
I think it's happening probably because the function key that you are pressing has been defined as CAXX instead of CFXX in the display file. Also in the detail display code, when u do a F12, update the subfile with SFLNXTCHGF indicator as *ON and the option = What ever was entered(think this is already happening). -----Original Message----- From: Wanda Gigger [mailto:wgigger@kdoch.state.ks.us] Sent: Tuesday, April 04, 2000 3:34 AM To: RPG400-L@midrange.com Subject: Re: Subfile help I think you need to modify the code for F12 by clearing the option field(s) OR setting off an indicator which was set during your first screen read. ----- Original Message ----- From: Quazy <mailto:quazy@SoftHome.net> To: RPG400-L@midrange.com <mailto:RPG400-L@midrange.com> Sent: Monday, April 03, 2000 2:06 PM Subject: Subfile help I have a application that was written by a outside consultant(very poorly written), which uses subfiles(I have very little experience with them). Question: The user is presented with the information and has options and function keys. when you do a 5 for display you can look at the detail info. Then press F12 to cancel and you are at the header screen with the option still there, which is what I want. The you space or delete the option off and use a function key and get a error because there is a option and the 5 reappears. So I need to Re read the screen when ever the function key is pressed to see if the screen has changed. but I cant seem to get it to work. any help would be greatly appreciated. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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.