|
-- Mark, I would not use DFRWTR(*YES), use the default value. Only the window-DSPF should be compiled with RSTDSP(*YES), *NO is the default, I think. Define the DDS key words KEEP and USRRSTDSP on the window record. In the programme do not close the DSPF or set on *INLR in the window programme. Hope this helps, Carel Teijgeler >Hello all, > >I have an RPG Program that contains two modules. Module 1 is the main >screen program. Module 2 displays a subfile in a window. When I fire >module2 the first time, it works fine but every subsequent execution, I get >a 'Window does not exist' error. I have both display files defined as >DFRWRT(*YES) RSTDSP(*NO). > >Thanks, > >Mark > > >Mark Walter >Sr. Programmer/Analyst >Hanover Wire Cloth a div of CCX, Inc. >mwalter@hanoverwire.com >http://www.hanoverwire.com >717.637.3795 Ext.3040 > >_______________________________________________ >This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list >To post a message email: RPG400-L@midrange.com >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l >or email: RPG400-L-request@midrange.com >Before posting, please take a moment to review the archives >at http://archive.midrange.com/rpg400-l. > > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.282 / Virus Database: 150 - Release Date: 25-9-01 --
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.