H
hmiller
I have an unbound text box on a form. The text box has a controll
source as follows:
=IIf(DateDiff("d",[DateSent],[DateReceived])<=5,"On
Time",IIf(DateDiff("d",[DateSent],[DateReceived])>5,"Overdue","Not
Submitted"))
I have named the TextBox "PPSub".
My question is; can I now refference this text box in another unbound
text box somthing like this
=Dcount("*","frmPPTrax","PPSub='On Time'")
The frmPPTrax is the name of the form where said unbound text box
"PPSub" is located.
I just don't want to have to create a Dcount with that IIF statement in
it.
Thanks Everyone
Hope this was clear...
source as follows:
=IIf(DateDiff("d",[DateSent],[DateReceived])<=5,"On
Time",IIf(DateDiff("d",[DateSent],[DateReceived])>5,"Overdue","Not
Submitted"))
I have named the TextBox "PPSub".
My question is; can I now refference this text box in another unbound
text box somthing like this
=Dcount("*","frmPPTrax","PPSub='On Time'")
The frmPPTrax is the name of the form where said unbound text box
"PPSub" is located.
I just don't want to have to create a Dcount with that IIF statement in
it.
Thanks Everyone
Hope this was clear...