Hi All
I have a yes/no tick box on form this then enables two combo boxes. I also want it to change the value in one of the combo boxes. If you were to code that value as default it would be value "1". I have played around with item data and value but to no avail. Current code associated with check box is:
Private Sub FL_Trim_AfterUpdate()
If Me![FL Trim] = True Then Me![FL Lesion].Enabled = True
Me![FL Treatment].Enabled = True
End Sub
This currently works to enable the boxes but obviously not to change the value of FL Lesion.
Thanks
I have a yes/no tick box on form this then enables two combo boxes. I also want it to change the value in one of the combo boxes. If you were to code that value as default it would be value "1". I have played around with item data and value but to no avail. Current code associated with check box is:
Private Sub FL_Trim_AfterUpdate()
If Me![FL Trim] = True Then Me![FL Lesion].Enabled = True
Me![FL Treatment].Enabled = True
End Sub
This currently works to enable the boxes but obviously not to change the value of FL Lesion.
Thanks