|
Sounds more like some other logic is the issue, also, if you are going the direction it sounds like you are, you are better off using write/read instead of the exfmt function; it gives you more control of the screen I/O. Some code or parts would help, but here is what I would ask myself (going on some assumptions here) have I re-loaded the subfile? If I am reloading the screen/subfile, are the records updated/added to the file I am reading in? Do I have any special parms on the compile: rstdsp, dfrwtr, or dtaq (just as some examples)? If I am not re-reading the file, am I updating the correct field name for the DDS? been there too many times... Is my lib list ok with the test version/if ILE have I done (some may disagree with this) a rclactgrp *eligible - sometimes you can have old code running in memory while testing - there are better ways around this, but it is a quick "fix"... Without seeing more code or knowing more specifics, that is all I can offer for starters - most of this can be seen if you run your debug interactively. HTH Mark -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On Behalf Of Johnson, Duane Sent: Monday, November 18, 2002 1:33 PM To: 'rpg400-l@midrange.com' Subject: Screen Refresh I have a display screen that can possibly display 16 parts. In most cases, not all 16 slots are filled. There is a possibility that the user might want to add some new parts to the display. When this happens, I call another program which pops up a window just under the lowest line in the display, or if the window would show up more than 2/3 of the way down the screen, it pops up above the lowest line. The window program is set up so that once a part and quantity have been verified, control returns to the calling program, which then adds the part to the display list. At that point I'm performing a WRITE to the display file, expecting to see that item show up before I return to the window for another part. The problem is - that no redisplay occurs. I'm still seeing the original display screen, with a window asking for another part number. My question is - What do I need to do to make the new line visible before I redisplay the part input window? Obviously, a simple WRITE isn't doing the job, and I don't want to do an EXFMT, because I don't want the user to have to press another key inbetween keying part numbers. Duane Johnson Information Technology Services Programming Manager Coleman Powermate Inc. 4970 Airport Rd. Kearney, NE 68847 djohnson@powermate.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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.