tbxFirstAidStatus located on frmManagers (underlying tblManagers).
Ideally, I would like to bound the textbox above to a field so I could use it in reports in queries. Is there a way to do this even though the control source is a calculated value. I can do the above with no problem if I do a query based on the underlying table, base a form on the query, and do an expression based with the code below but I'm trying to cut down on any unnecessary queries.
My code for tbxFirstAidStatus: Control Source= IIf(DateDiff("d",Now(),[ASW_FirstAidExp])>30,"Current",IIf(DateDiff("d",Now(),[ASW_FirstAidExp]) Between 0 And 30,"Due",IIf(DateDiff("d",Now(),[ASW_FirstAidExp])<0,"Expired","")))
Ideally, I would like to bound the textbox above to a field so I could use it in reports in queries. Is there a way to do this even though the control source is a calculated value. I can do the above with no problem if I do a query based on the underlying table, base a form on the query, and do an expression based with the code below but I'm trying to cut down on any unnecessary queries.
My code for tbxFirstAidStatus: Control Source= IIf(DateDiff("d",Now(),[ASW_FirstAidExp])>30,"Current",IIf(DateDiff("d",Now(),[ASW_FirstAidExp]) Between 0 And 30,"Due",IIf(DateDiff("d",Now(),[ASW_FirstAidExp])<0,"Expired","")))