T
Tony Williams
I have a control on a subform whose control source is this:
=DLookUp("[txtstatus]","[StatusCodes]","[txtstatuscode]=Forms![frmmain]![frmvehicle].Form.[txtstatus]")
However when I open the form I get #Error blinking in thr control as if it's
running through the records.
I've Googled referencing subforms and I thought I'd followed the advice but
there's obviously something wrong. I'm sure I've used this format before and
its worked OK.
Anyone any ideas?
Thanks
Tony
=DLookUp("[txtstatus]","[StatusCodes]","[txtstatuscode]=Forms![frmmain]![frmvehicle].Form.[txtstatus]")
However when I open the form I get #Error blinking in thr control as if it's
running through the records.
I've Googled referencing subforms and I thought I'd followed the advice but
there's obviously something wrong. I'm sure I've used this format before and
its worked OK.
Anyone any ideas?
Thanks
Tony