P
Patrick Jackman
I understand that each combobox and listbox on a form consumes a resource
type; a database connection I believe.
I also believe that this can be delayed if I open a form with combobox and
listbox rowsources empty and set them programmatically when required by the
user; for example, when they navigate to a tab having these controls.
Having set them, is there a way to recover these resources without closing
the form? Setting the rowsource to vbNullString when they navigate off the
tab does not seem to do this.
I am asking because one of my applications is generating error 3048: Cannot
open any more databases. The application employs form instances and several
forms can present a fair bit of information via delayed-loading tab
controls. If a user navigates to all the tabs of one particular form with 8
instances loaded, the app crashes with the above error.
Patrick
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Patrick Jackman
Vancouver, BC
604-874-5774
type; a database connection I believe.
I also believe that this can be delayed if I open a form with combobox and
listbox rowsources empty and set them programmatically when required by the
user; for example, when they navigate to a tab having these controls.
Having set them, is there a way to recover these resources without closing
the form? Setting the rowsource to vbNullString when they navigate off the
tab does not seem to do this.
I am asking because one of my applications is generating error 3048: Cannot
open any more databases. The application employs form instances and several
forms can present a fair bit of information via delayed-loading tab
controls. If a user navigates to all the tabs of one particular form with 8
instances loaded, the app crashes with the above error.
Patrick
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Patrick Jackman
Vancouver, BC
604-874-5774