View Full Version : setting a record to null not the entire field?


3mr
03-16-2002, 10:32 PM
hi guys,

thanks fot all the help before.
got another little problem.

i'm using the following code below on the event properties of a checkbox i'm using.

*******************************************

Private Sub first_AfterUpdate()
If Me![firstoption] = -1 Then
Me![other] = 0
Me.messageone.Enabled = False
End If
End Sub

Private Sub Osecond__AfterUpdate()
If Me![other] = -1 Then
Me![firstoption] = 0
Me.messageone.Enabled = True
End If
End Sub

*******************************************
'Me.messageone.Enabled = False'
I'm trying to control the 'enabled/disabled' feature of the corresponding record, but it seems to disable the entire messageone field rather than just the corresponding record. IS there any way to do this... get it to disable the field(s) you speicify rather than the entire field?

chers,
Jeev

[This message has been edited by 3mr (edited 03-16-2002).]

Jack Cowley
03-17-2002, 08:01 AM
I'm sorry but I don't understand your question. You refer to a 'corresponding record' and '...disable the field(s) you speicify rather than the entire field'. You will need to clarify, at least for me, what it is that you want to do.