Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

remove screen values for select options after report runs

0 Kudos

I have a report that runs and when it is finished there is garbage in 3 select-option fields. I put it there because i want the report to run if the field is blank. here is a sample of that code.

IF SO_APS = ' '.

SO_APS = 'IEQn'.

APPEND SO_APS.

ENDIF.

what happens is that there is an displayed after the report is finished, and I don't want to confuse the end users.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can try clearing it as the last statement.

clear  SP_APS.   Refresh SO_APS.

If that doesn't work, then try FREE MEMORY as the last executable statement.

Regards,

Rich Heilman

2 REPLIES 2

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can try clearing it as the last statement.

clear  SP_APS.   Refresh SO_APS.

If that doesn't work, then try FREE MEMORY as the last executable statement.

Regards,

Rich Heilman

0 Kudos

Free Memory worked the other cleared from the Field but not on the screen.