visable

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
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.
 
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.
 
Back
Top