Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with .enabled = False 1

Status
Not open for further replies.

ffleitas

Technical User
Mar 15, 2001
85
US
Hello programmers,

On open I have a form activate this procedure:

Private Sub Form_Open(Cancel As Integer)
If Me!CommNumber = 1 Then
Me!Cleared.Enabled = False

Else

End If
End Sub

The problem I am having is that the all the rows which all have the field [cleared] (Yes/No) on the continous form are disabled if the condition of 1 is met. Is there a way to just disable the field [cleared] (Yes/No) that holds the condition in the row or rows ?

Thanks,
Felix
 
Use the Current event.
In a continuous form it will create the impression that Cleared is enabled/disabled for all records, but moving from one record to another will actually enable/disable the control depending on the value in the current record.
In a single form it will be probably exactly what you need.

Good luck


[pipe]
Daniel Vlas
Systems Consultant

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top