I would use the IIF function.
In you control source:
=IIf(isnull(me.Outstanding info,(Calc1),(Calc2)
if Outstanding Info is null, it carries out calc1 otherwise it carries out calc2.
Use the help for IIF to insure you utilize the correct syntax.
Kevin
dartcoach
|