|
In a similar situation i define a field of 72 characters on the screen, and define as many 72-character view fields As I think the application may need. Then as I fill the subfile I fill the hidden fields FldView1, FldView2, FldVew3, etc. Lastly I fill the FldScreen field from View 1, 2, or 3, depending on the F-key the user has selected. If the user re-selects for another view, I reload the screen from the subfile's hidden fields. Fast, simple, and easy to modify. *Edit and Eval are your friends when you make the 72-character field. -------------------------------------------- Booth Martin MartinB@Goddard.edu 802-454-8315 x235 -------------------------------------------- -------Original Message------- From: rpg400-l@midrange.com Date: Thursday, December 06, 2001 01:50:50 PM To: 'rpg400-l@midrange.com' Subject: Dynamic subfile dilemma I have a problem that I am trying to solve by allowing different fields to be displayed in the subfile based upon another template physical file that I am reading. So basically I want a subfile that can look something like this: Seq Dynamic Fields 999 BBBBBBBBBBBBBBBBBBBBBBBBBBB 999 BBBBBBBBBBBBBBBBBBBBBBBBBBB 999 BBBBBBBBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBB 999 BBBBBBBBBBBBBBBBBBBBBBBBBBB 999 BBBBBBBBB BBBBBBBBBBBBB BBBBBBBBBBBB 999 BBBBBBBBBBBBBBBBBBBBBBBBBBB 999 BBBBBBBBBBBBBBBBBBBBBBBBBBB 999 BBBBBBBBBBBBBBBBBBBBBBBBBBB I have tried using the non-display character to display the correct field at the correct time but it gives me a field overlap error when I try to add a field that "touches/overlaps" another field. I have tried putting an indicator at the field level for each subfile field but that errors on the compile saying that I can't have a indicator at the field level. But I can have indicators at the field level on a non-subfile field? Hmmm . . . Is there any way to do what I am trying to do? Aaron Bartell _______________________________________________
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.