I have written the following macro that is in module 1.
Sub Test()
DoCmd.SelectObject acForm, "frmCustody"
frmCustody.Me.Controls("F9").Value = "Ag"
End Sub
I get the following error: Object required.
Any ideas how to get the value to show up in the form when the macro runs??
Thanks,
B
Edit/Delete Message
Sub Test()
DoCmd.SelectObject acForm, "frmCustody"
frmCustody.Me.Controls("F9").Value = "Ag"
End Sub
I get the following error: Object required.
Any ideas how to get the value to show up in the form when the macro runs??
Thanks,
B
Edit/Delete Message