There is one combobox on a subform named Report Soil Series Subform1. The combobox is named cboSoilSeries. I need to disable this so the user can't enter values. I could also disable the whole subform since this is the only control on the subform. I've tried this line of code but it says you can't disable the control while it has focus.
Forms![Survey Report]![Report Soil Series Subform1].Form.cboSoilSe ries.Enabled = False
The combobox does not have focus when I run that line of code. I'm using Access 2007.
Thank you for the help,
Devo
Forms![Survey Report]![Report Soil Series Subform1].Form.cboSoilSe ries.Enabled = False
The combobox does not have focus when I run that line of code. I'm using Access 2007.
Thank you for the help,
Devo
Comment