As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
All, I have a requirement where i need to validate a column such a way whenever i found zero in the column then it should say 'N/A' else it has to do the given calculation. I had used FTOA for this.here is the define condition that i used.
COLAB/A15=IF COLA EQ 0 THEN 'N/A' ELSE FTOA((COLA / COLB), '(D12.2-%)', COLAB);
. But because of this i am getting delay in report,and also for a given condition it gives some junk values.Then in total also i am not able to see the values for the given column.
Is there a way to store the 'N/A' in the numeric feild?If i store 'N/A' as number then there will be any issues in the grand total of the column?
Any sugeestion or existing discussions??
Dev: Dev Studio 7.1.6,Report Caster 7.1.1,Servlet Local: Dev Studio 7.1.6,Report Caster 7.1.1,Apache 5.0.2, Win XP
DEFINE FILE Fn
miss_field/D12.2 MISSING ON = IF field EQ 0 THEN MISSING ELSE field;
calc_field/D12.2 MISSING ON = calculation on miss_field;
TABLE FILE Fn
PRINT field miss-field calc_field
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007