Apache OpenOffice (AOO) Bugzilla – Issue 116463
Conditional print expression not working with IF(ISNUMBER( functions
Last modified: 2011-04-02 16:14:12 UTC
Open attached file, open report. Run report the data in report formatted as number contains 0 (zero) or values from table. Edit any number field (decimal or integer), copy from Data tab Data field, the function IF(ISNUMBER([field_name]);[Szam_int];" ")into General tab Conditional print expression, delete function from data field. Run report. When you changed function from data field to Conditional Print expression, NaN and one number can be found in report.
Created attachment 75563 [details] bugdoc with report
IF(ISNUMBER([field_name]);[filed_name]) is the correct function which I used in example file. Wrongly inserted into first post.
Fixed in cws dba34d. A fixed version can be found here ftp://qa-upload.services.openoffice.org/dba34d/report-builder.oxt
Hi, OOo 3.3 + SRB 1.2.1-rev2 If a DB numeric field is null, printed with format 0,00 the output is: "N,aN" instead of blank as with previous versions. With fix ftp://qa-upload.services.openoffice.org/dba34d/report-builder.oxt a conditional print expression is needed : ISNUMBER([field_name])
Please verify. Thanks.
verified in cws dba34d if I change the function in the bugdoc to "IF(ISNUMBER([field_name]);[Szam_int];"")" the field is empty in the cws.
Checked in DEV300m105, OK.