I apologize for the question but staring at a screen for too long can make your head feel hollow.
Trying to run a comparison on 2 DB and list the number on a report,
I want to tell the report DB1 + DB2 / 2
this way i have the average of DB1 and DB2 this is working.
now problem is some the information in DB1 is missing and also in DB2
so I want to say
if DB1 >0 then DB2 and if DB2 > 0 then DB1
Here is my formula
If {CDNITEM.Specgrav} < 0 then {USAITEM.Specgrav} else
if {USAITEM.Specgrav} < 0 then {CDNITEM.Specgrav}
else
If {CDNITEM.Specgrav} > 0 and {USAITEM.Specgrav} > 0 then
({CDNITEM.Specgrav} + {USAITEM.Specgrav}) / 2
Now I think I realize why this is not working.
There are no errors in the formula, but the fields are not ")" they are blank instead therefore how so I state this formula but instead of using 0 i want to use (blank)
Thanks
Trying to run a comparison on 2 DB and list the number on a report,
I want to tell the report DB1 + DB2 / 2
this way i have the average of DB1 and DB2 this is working.
now problem is some the information in DB1 is missing and also in DB2
so I want to say
if DB1 >0 then DB2 and if DB2 > 0 then DB1
Here is my formula
If {CDNITEM.Specgrav} < 0 then {USAITEM.Specgrav} else
if {USAITEM.Specgrav} < 0 then {CDNITEM.Specgrav}
else
If {CDNITEM.Specgrav} > 0 and {USAITEM.Specgrav} > 0 then
({CDNITEM.Specgrav} + {USAITEM.Specgrav}) / 2
Now I think I realize why this is not working.
There are no errors in the formula, but the fields are not ")" they are blank instead therefore how so I state this formula but instead of using 0 i want to use (blank)
Thanks