Code:
if isnull({AccountReps.DealerNumber})= true then
{AccountInfo.TrustDealerNumber} else {AccountReps.DealerNumber}
This is what i currently have. I also want to add that if both {AccountReps.DealerNumber} and {AccountInfo.TrustDealerNumber} are null then use {AccountInfo.AccountNumber}
any help.. thanks