B
betwalk
I'm embarassed to ask this, I've used this technique for years with no
trouble, but suddenly I'm not getting it. Here's my situation:
--An unbound form used to collect data which, upon user confirmation,
will get written to a table.
--I would like one text box to be enabled, or not, depending on a
checkbox that precedes it
--Code in the after update even of the checkbox is very simple
If Me!NewBought = 0 Then
Me!NewAmtPaid.Enabled False
Else
Me!NewAmtPaid.Enabled True
End If
When I test this, I get a runtime error "438" saying this object
doesn't support the property or method. Clicking Debug highlights the
enabled statement as the culprit.
Obviously, I'm doing something differently than I've done before, but I
cannot uncover where I'm making a mistake. I've even used this
technique in another form that I built for this particular app.
I found the following in the MSKB, which leads me to think that it has
something to do with the checkbox (binary?), but I have to admit that
this article is sorta greek to me:
http://support.microsoft.com/kb/200271/
Any help?
Thanks in advance...
Betsy
trouble, but suddenly I'm not getting it. Here's my situation:
--An unbound form used to collect data which, upon user confirmation,
will get written to a table.
--I would like one text box to be enabled, or not, depending on a
checkbox that precedes it
--Code in the after update even of the checkbox is very simple
If Me!NewBought = 0 Then
Me!NewAmtPaid.Enabled False
Else
Me!NewAmtPaid.Enabled True
End If
When I test this, I get a runtime error "438" saying this object
doesn't support the property or method. Clicking Debug highlights the
enabled statement as the culprit.
Obviously, I'm doing something differently than I've done before, but I
cannot uncover where I'm making a mistake. I've even used this
technique in another form that I built for this particular app.
I found the following in the MSKB, which leads me to think that it has
something to do with the checkbox (binary?), but I have to admit that
this article is sorta greek to me:
http://support.microsoft.com/kb/200271/
Any help?
Thanks in advance...
Betsy