I am trying to set the control source of a date field on a form as follow
Set rst = db.OpenRecordset("shipplan", dbOpenDynaset)
Me!LOGDATE.ControlSource = rst("logdate")
When I step thru the code, I can see that the value is correct, but it does not display on the form properly.
Instead I get #Name?.
Any suggestions.
thanks
villica
Set rst = db.OpenRecordset("shipplan", dbOpenDynaset)
Me!LOGDATE.ControlSource = rst("logdate")
When I step thru the code, I can see that the value is correct, but it does not display on the form properly.
Instead I get #Name?.
Any suggestions.
thanks
villica