Object required error

swarv

Registered User.
Local time
Today, 10:34
Joined
Dec 2, 2008
Messages
196
I get an object required error on the following code.
Can anybody help please?
Thanks

If frm_homepage.user_id.Text = "Jo" Then

etc....
 
You have to tell access you are going to refer to a form...
Forms.frmHomepage etc... or something simular ;)
 
Depends on where the code is (what module).

Maybe:

If forms!frm_homepage!user_id = "Jo" Then

???
 
wow that is great, so quick as well.
the !'s worked.
Thanks a lot.
 

Users who are viewing this thread

Back
Top Bottom