Re: Method or Data Member Not found
- From: lsgKelly <lsgKelly@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 16 Apr 2009 11:53:04 -0700
I took out the blue comments and I'm still getting the same error. Any other
ideas? It's still stopping at the .locked comment.
"Stuart McCall" wrote:
"lsgKelly" <lsgKelly@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message.
news:A2A55691-FE61-4627-AE1E-25B788C17684@xxxxxxxxxxxxxxxx
I have the following code attached to a button on my form:
Private Sub Command70_Click()
[color blue]
Me.gnotes.Locked = False
Me.gnotes = Now() & "--" & CurrentUser() & "--" & [Add] & vbCrLf &
"-----------------------------------------------------------------------------------------------------------------------------------------------"
& vbCrLf & Me.gnotes
Me.gnotes.Locked = True
Me.Add = Null
[/blue]
End Sub
I'm getting the error at the Me.gnotes.Locked = False line.
Any ideas on how I can get this to work?
Thanks,
Kelly
The problem is the line before that. [color blue] is not VBA syntax. Neither
is [/blue]. Either comment out both those lines or delete them.
- Follow-Ups:
- Re: Method or Data Member Not found
- From: Stuart McCall
- Re: Method or Data Member Not found
- References:
- Method or Data Member Not found
- From: lsgKelly
- Re: Method or Data Member Not found
- From: Stuart McCall
- Method or Data Member Not found
- Prev by Date: Re: Method or Data Member Not found
- Next by Date: Re: Method or Data Member Not found
- Previous by thread: Re: Method or Data Member Not found
- Next by thread: Re: Method or Data Member Not found
- Index(es):