For a long while there's been a bug in Access whereby the Text property of a ComboBox or TextBox control is inaccessible, even when the control in question currently has the focus, if the control is in the form footer (or header too, I think) and the detail part of the form is currently displaying no records. The error raised is 2185, “You can’t reference a property or method for a control unless the control has the focus.”
I was just wondering if anyone's come up with a decent workaround for this issue.
What I'm hoping to do with a ComboBox in a particular subform is to implement some functionality along roughly the same lines as Allen Browne’s "Combos with Tens of Thousands of Records".
Ideally I would prefer to have the various input controls (including the ComboBox) in the form’s footer rather than in the form’s detail section, but the inability to access the value so far input (via the combo’s Text property) is a serious problem.
Thanks.
I was just wondering if anyone's come up with a decent workaround for this issue.
What I'm hoping to do with a ComboBox in a particular subform is to implement some functionality along roughly the same lines as Allen Browne’s "Combos with Tens of Thousands of Records".
Ideally I would prefer to have the various input controls (including the ComboBox) in the form’s footer rather than in the form’s detail section, but the inability to access the value so far input (via the combo’s Text property) is a serious problem.
Thanks.