Enable or disable controls within a continuos form

  • Thread starter Thread starter osvalch
  • Start date Start date
O

osvalch

Guest
I´m trying to enable or disable a checkbox within a record in a continuos form depending on a value. But when I enable or disable it, all the rows displayed in the form are affected.
How can I enable or disable a control in the active record so that all the others remain without change ?
 
I don't think this is possible on a continuous form. I may be wrong, though.
 
It may be possible under certain limits. Give us a better idea about what you want to do: what checkbox(es) do you want to toggle (current record or other(s)) under which circumstances, etc.
 
Last edited:
The problem is that depending on a value, I need to disable a control. It can be an option group or a text box. But this control must be disabled only for the records that have a specific value. This works fine in a simple form, but in the continuos form I don't know how can it be done. I'm attaching a snapshot of the form. I'll appreciate very much your support.
 
Something like
Private Sub Form_Current()
Me.Caption = Me.txtDescr
Select Case Val(Me.txtAlph)
Case Is > 0
Me.Command82.Visible = True
Case Else
Me.Command82.Visible = False
End Select
End Sub
 

Users who are viewing this thread

Back
Top Bottom