Focal Point
[CLOSED] -Prompt with number.decimal format

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8587076526

October 31, 2012, 02:44 PM
funsutton
[CLOSED] -Prompt with number.decimal format
I'm using the -PROMPT command and it works fine like this:

 -PROMPT &PERCENTINC.I8.Enter Increase Percentage. 


But when I switch the number format from I8 to D2.2 it screws the title up:

 -PROMPT &PERCENTINC.D2.2.Enter Increase Percentage. 


Is there a proper syntax to have a number format with a decimal in a -PROMPT command?

This message has been edited. Last edited by: Kerry,


-Brian

Webfocus v7.6.1 on Windows XP
November 01, 2012, 07:09 AM
Jeff_f
Try DMPRECISION

SET DMPRECISION = 2
-PROMPT &PERCENTINC.Enter Increase Percentage.
November 07, 2012, 12:37 PM
Doug
You need to add a -RUN after the "SET DMPRECISION = 2" so that it's SET before the dialogue manager command, -PROMPT, is executed.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206