G
Guest
I have the following Calculated field in a query.
STATUS: IIf(Not IsNull([DateReceivedComp]) And IsNull([DateStuffed]) And
IsNull([DateDelivered]) And IsNull([DateReturnedComp]) And
IsNull([DateDeliveredAgtEmp]) And IsNull([DateReturnedCompX]) And
IsNull([DateShipped]),"COMPOUND","DELIVERED")
I would like to transfer this to a form but rewrite this expression in VB.
What would the above be in VB and on which event should this code be placed?
Thanks
STATUS: IIf(Not IsNull([DateReceivedComp]) And IsNull([DateStuffed]) And
IsNull([DateDelivered]) And IsNull([DateReturnedComp]) And
IsNull([DateDeliveredAgtEmp]) And IsNull([DateReturnedCompX]) And
IsNull([DateShipped]),"COMPOUND","DELIVERED")
I would like to transfer this to a form but rewrite this expression in VB.
What would the above be in VB and on which event should this code be placed?
Thanks