vpellerito
Technical User
Is there a way to code simple validation when viewing a form as a datasheet?
I have Field1 that is Yes/No. I don't want Field2 to allow data entry unless Field1 = Yes.
This code disables all the records for Field2 when I view the form as a datasheet... I don't want that. I want specific records to be enabled/not enabled.
Is this possible in datasheet view?
Thanks,
Vince
I have Field1 that is Yes/No. I don't want Field2 to allow data entry unless Field1 = Yes.
Code:
If Field1 = "Yes" Then
Field2.Enabled = True
Else
Field2.Enabled = False
End if
This code disables all the records for Field2 when I view the form as a datasheet... I don't want that. I want specific records to be enabled/not enabled.
Is this possible in datasheet view?
Thanks,
Vince