I have a form that I am working on that does a calculation regarding lending. It will take the user inputted monthly salary and the total unsecured debt to produce a %. Well I have it currently to show up as blank until both fields are non zero. If I have the unsecured field with a 0 it will not calculate the calculation at all leaving the field blank. I need it to show up as a 0% if the total unsecured is actually $0. EXAMPLE:
As you can see on the right side I have 2 different calculation running for a Primary Borrower and a Co-Signer. Under Total Unsec$ The first is 12,000 and the second is 0$. Then under the % Unsec to Inc it shows 13% and then blank. I need the blank field to populate a 0%.
This is currently what my scripting looks like in that field.
if
(AINC1 <> 0 and AINC1.isNull == 0) then
;
And both the Allow Empty and Allow Zero boxes are checked under Patterns... in the object tab.
THANKS FOR YOUR HELP!!