I have an application that in a simple sense keeps track of locations at which items are stored.
The data entry form has 5 combo boxes designed to give the user a list of 'available' storage locations. When the 'GotFocus' event of each of these combo boxes fires, code runs which builds a one field table listing the available locations. A SELECT statement bound to the control then allows the control to only list for selection those areas which are 'available'.
This works great when the first combo box gets the focus. My problem is that while the form remains open, I get an error (Runtime Error 3211 - the database engine could not lock the table which the SELECT statement queries to show the available locations).
What I need, apparently, is a method to 'unlock' the table after the combo box executes it's SELECT statement. I've tried saving the record as part of this process, but that didn't help.
Thanks! - - - -
Bryan
The data entry form has 5 combo boxes designed to give the user a list of 'available' storage locations. When the 'GotFocus' event of each of these combo boxes fires, code runs which builds a one field table listing the available locations. A SELECT statement bound to the control then allows the control to only list for selection those areas which are 'available'.
This works great when the first combo box gets the focus. My problem is that while the form remains open, I get an error (Runtime Error 3211 - the database engine could not lock the table which the SELECT statement queries to show the available locations).
What I need, apparently, is a method to 'unlock' the table after the combo box executes it's SELECT statement. I've tried saving the record as part of this process, but that didn't help.
Thanks! - - - -
Bryan