I use an if/then statement with an isset nested:
- Code: Select all
$nsq3 = $record->val('NoSupplierQuote3');
if (isset($nsq3)) //Check to see if NoSupplierQuote3 is NULL
{
perform calculations * NoSupplierQuote3
}
else
{
perform calculations without NoSupplierQuote3
}
Hope this is what you are looking for.
Jason