I have a tiny little Access form with the following code
VB Code:
Private Sub Form_Load() Label41.Visible = False ctlDate.Value = Date - 1 strDateName = "AdmitDate" strDownloadType = "All" End Sub
When opening this form I get the following error message:
There is no object in this control
It then highlights the "ctlDate.Value = Date -1" line.
What...the...hell?
I do have a control on the form named ctlDate so I am lost here.




Reply With Quote