I'm creating a html page where a user will enter a numeric values into edit boxes, which will then update a permanent hold file. I want these fields to be stored as numeric values for calculations later on. Ideally the user can enter a value with or without formatting (comma's/decimals). In my example below, I'm getting an error "Result of expression is not compatible with the formal of the field". What am I doing wrong?
TABLE FILE CAR SUM CAR NOPRINT COMPUTE TOTAL_PTM_IMAGES/D12 = '&TOTAL_STATEMENTS'; COMPUTE QTR_GROWTH_FACTOR/D3.3 = '&QTR_GROWTH_FACTOR'; ENDThis message has been edited. Last edited by: Joel Elscott,
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
September 27, 2017, 10:33 AM
RSquared
Sorry but my last answer did not copy right. You cannot in the commas in the amount. Just enter the amount as a number. The report will show with the commas.
WF 7.6.11 Oracle WebSphere Windows NT-5.2 x86 32bit
September 27, 2017, 10:44 AM
Joel Elscott
Thanks guys. The numbers are coming from a user entry screen, so I will need to strip out the comma's before I store them. (Which I know how to do)