Display @ and scroll command

Dirky

New Member
Hello everyone,

I've got a problem on Progress v9.1A on a SCO Unix system.


I've got a down frame with an decimal variable (price for item) in it.
When the price is unknown, I'm using the following code to signal the user:

display '*E*' @ v_price

this works just fine, but as soon as I scroll with the frame (using the scroll statement) the '*E*' is replaced by the original value of v_price.


Is there a simple work-around for this, or do I have to go through al the lines in my down frame to display the '*E*' again?

Thank you for your time...
 
How come nobody knows the answer to this?

Dan Foreman, I've heard so much about you, where are you when I need you?
 
Instead of displaying v_price why not create a character variable and assign it equal to STRING(V_price, "zzz,zz9.99") or "*E*" earlier in your code?
You can display the character variable instead.
 
Instead of trying to display the value which is obviously causing difficulties I have a work-around solution. Create your static frame as you are, though instead of DISP hardcoded_price/3.75 use a variable instead. So you have your static frame predefined with product description / item_code / item_price ... Instead of hard coding the valueables
 
Back
Top