visable

G

Guest

I created a form with a command button with the below code. I'm tring to
make a graphic visable = false if field C1 is Locked = false. I'm getting an
error "Method or data member not found"

Private Sub Command252_Click()
If [C1].Locked = False Then Image247.visable = False Else Image247.visable =
True
End If
End Sub

What I'm I doing wrong?

Thanks.
 
R

Rick Brandt

rml said:
I created a form with a command button with the below code. I'm
tring to make a graphic visable = false if field C1 is Locked =
false. I'm getting an error "Method or data member not found"

Private Sub Command252_Click()
If [C1].Locked = False Then Image247.visable = False Else
Image247.visable = True
End If
End Sub

What I'm I doing wrong?

Spelling "visible" incorrectly.
 
C

Corey-g via AccessMonster.com

I'm not 100% sure, but here we spell it v i s i b l e (notice the I not an
A)

This might be the issue - do you use code completion?

HTH,

Corey
I created a form with a command button with the below code. I'm tring to
make a graphic visable = false if field C1 is Locked = false. I'm getting an
error "Method or data member not found"

Private Sub Command252_Click()
If [C1].Locked = False Then Image247.visable = False Else Image247.visable =
True
End If
End Sub

What I'm I doing wrong?

Thanks.
 
C

Corey-g via AccessMonster.com

Sorry -Rick, your reply wasn't there when I replied...

Rick said:
I created a form with a command button with the below code. I'm
tring to make a graphic visable = false if field C1 is Locked =
[quoted text clipped - 7 lines]
What I'm I doing wrong?

Spelling "visible" incorrectly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top