|
If you want to eliminate indicators to position the cursor, you can use the retrieve file description API 'QDFRTVFD' to determine the starting position (row and column) for a display file field, then use CSRLOC to position the cursor to that location. I think you'll find a sample program in the archives. The closest I've come to "AUTOMATICALLY synchronizing the pair of variables " is to use a "validwhatever" indicator that is set by the validity checking logic, then this construct right before I write the format. c eval InvalidWhatever = not ValidWhatever ____________________________________________________________________________________ This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please delete it and notify us immediately.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.