First I get the error saying "you can't reference a property or method for a control unless..." blah blah blah
so I used .SetFocus on the textbox.
Now it says this error: "Run-time error '424': Object required"Code:txt_startdate.setfocus str_start = txt_startdate.text txt_enddate.setfocus str_end = txt_startdate.text
The debugger highlights txt_enddate.setfocus
What am I missing here? (Programming in VBA, Acecss 2007)