VBA Compile Error

funderburgh

Registered User.
Local time
Today, 09:52
Joined
Jun 25, 2008
Messages
118
Please help me figure put why I am getting a compile error on the following:
DoCmd.FindRecord Me.UserName, , , , , ,
I am getting "Compile Error: expected:expression"

I have tried every variation I can think of. Thanks.
 
you have to say what is equal to what. you are only giving it me.username.

should be something=me.username
 
If you have all blanks after the item, you don't put all of the commas:

DoCmd.FindRecord Me.UserName, , , , , ,

SHOULD BE:

DoCmd.FindRecord Me.UserName
 

Users who are viewing this thread

Back
Top Bottom