BBQ Kittens
Registered User.
- Local time
- Today, 09:01
- Joined
- Apr 22, 2011
- Messages
- 49
Hopefully someone can help me since I have already spent far too much time trying on my own with little success.
I am using a module from tek-tips called "FindAsYouType" which allows my combo box to search Like *text* and not Like *text. Unfortunately when I open the form containing the combo box, I get 'run-time error 91 object variable or With block variable not set'. In order to avoid this I must first open the form in design and then normal to bypass this. My understanding is that when the form opens, the combo box recordset=nothing thus causing a conflict in the module on load. I have attempted to set the combo box recordset to anything other than nothing when the form loads and before the module is initialized, but I have had no success. what is the correct syntax for setting a combo box recordset?
I am using a module from tek-tips called "FindAsYouType" which allows my combo box to search Like *text* and not Like *text. Unfortunately when I open the form containing the combo box, I get 'run-time error 91 object variable or With block variable not set'. In order to avoid this I must first open the form in design and then normal to bypass this. My understanding is that when the form opens, the combo box recordset=nothing thus causing a conflict in the module on load. I have attempted to set the combo box recordset to anything other than nothing when the form loads and before the module is initialized, but I have had no success. what is the correct syntax for setting a combo box recordset?