ClrSFL clears the subfile (in memory) but not the display. On a no
records situation you could fill the subfile with blanks and write, or
create a window that overwrites that area of the display and write it.

__________________________________________________

Michael Steigman
MLCC AS/400 Programmer & Administrator
Vishay, Vitramon, Migdal HaEmeq, Israel
tel. +972 4 6447788
fax. +972 4 6447789
mobile +972 54 3000169
michael.steigman@xxxxxxxxxx
__________________________________________________

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of David FOXWELL
Sent: Monday, 02 June, 2008 16:20
To: RPG programming on the AS400 / iSeries
Subject: Empty subfile shows as filled

Hi,

I have a subfile that shows customer transactions. To view cancelled
transactions, the user presses a function key and the subfile is cleared
and recharged with all the transactions. Pressing the function key again
recharges without the cancelled transactions.

Case : the customer has only one transaction that is cancelled.

The first time, the screen shows no records, so OK.

Press the function key, the screen shows the cancelled transaction.

Press the function key again, the screen continues to show the cancelled
transaction, despite the fact that the subfile is empty. I seem to be
viewing the screen underneath the last screen.

This problem does not show if I try to debug.

What can I do ?

Thanks



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.