|
ok, so i got the subfile working the way it should, EXCEPT for 1 thing now.
When the selection screen is displayed and you put something in the position
to field, the screen disappears and then reappears. I don't think this is
just a slow system,as there is nothing running on the machine. i've tried
putting a dummy record with assume.
any ideas
thanks
mike
i know it doesn't look like it below but it is actually a window/subfile
QA CATEGORY SELECTION
POSITION TO ----------
1=Select
_ AAA LONG AAA PGMA
- BBB BBB DESCRIP PGMB
- CCC CCC DESCRIP PGMC
- DDD DDD DESCRIP PGMD
Bottom
F3=Exit F12=Return
-----Original Message-----
From: michel.cuypers@newwave.be [mailto:michel.cuypers@newwave.be]
Sent: Friday, April 20, 2001 2:49 AM
To: RPG400-L@midrange.com
Cc: RPG400-L@midrange.com
Subject: RE: WINDOW SUBFILE
Hi, gang,
When WINDOW-coding in DDS, we tend to use the most important record to
define
our window
When coding SFL in DDS, we tend to assume the SFLCTL-record as being most
important
In combining these to (SFL in WINDOW) however, best is to define the window
in
the "humble" footer...
DDS-coding as follows works well:
1.Assume -record: ASSUME ASSUME
2.SFL- record: SUBFL1S
3.SFLCTL-record SUBFL1C SFLCTL(SUBFL1S)
WINDOW(SUBFL1O)
4.SFL-error (no data) SUBFL1E WINDOW(SUBFL1O)
5. FOOTER-record SUBFL1O WINDOW(xx xx xx xx)
WDWBORDER(xxxxxxxxxxxxx...)
RPG-coding stays pretty much the same (WRITE footer before EXFMT sflctl ...)
Hope this helps to solve your problem
Greetings, Michel
___________________________________________________
|--------+---------------------------->
| | "Gary Monnier" |
| | <garymon@powertech|
| | group.com> |
| | |
| | 20/04/01 01:25 |
| | Please respond to |
| | RPG400-L |
| | |
|--------+---------------------------->
>---------------------------------------------------------------------------
-|
|
|
| To: RPG400-L@midrange.com
|
| cc: (bcc: Michel Cuypers/New Wave Logistics Belgium)
|
| Subject: RE: WINDOW SUBFILE
|
>---------------------------------------------------------------------------
-|
Mike,
Are you writing the reference window to the display first? Your reference
window needs to be on the display.
--
Gary Monnier garymon@powertechgroup.com
The PowerTech Group 253.872.7788
PowerLock Network Security www.400security.com
-----Original Message-----
From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On
Behalf Of Smith, Mike
Sent: Thursday, April 19, 2001 1:23 PM
To: RPG400-L@midrange.com
Subject: WINDOW SUBFILE
I have a windowed subfile that is using a reference window in order to
display a footer.
the problem i am having is that when i clear my subfile i am getting an
session error that indicates that the window does not exist.
can anyone tell me what i might be doing wrong?
Mike
+---
| 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
+---
+---
| 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
+---
+---
| 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
+---
+---
| 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-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.