bcooler
Programmer
- Jun 13, 2009
- 132
I have a form called frmReturn that is initally used by the user to record a serial number (among other things). The initial list I had was way too long, so I tried to create cascading unbound comboboxes where each progressive combobox (Program Name, Part Number, Serial Number) relied on the previous combobox entry. The last combobox (bound) chooses the serial number and the data is stored in the record. This is done via a recordsource query.
This works great. My next step is to let the next user open the same form and add more information in other areas of the form. At this point, the serial number info needs to be informational only.
The problem is the reopened form shows the unbound info as empty (makes sense) and then won't show the bound serial number combobox since the recordsource depends on the previous cascading comboboxes to be filled out.
My question is: Is there a more graceful way out of this problem than using event based VBA to change the intitial recordsource via SQL (based on whether the user is trying to enter new data or adding to it)? That will be a lot of work if so and I've got to think there is a much more graceful way to handle it.
This works great. My next step is to let the next user open the same form and add more information in other areas of the form. At this point, the serial number info needs to be informational only.
The problem is the reopened form shows the unbound info as empty (makes sense) and then won't show the bound serial number combobox since the recordsource depends on the previous cascading comboboxes to be filled out.
My question is: Is there a more graceful way out of this problem than using event based VBA to change the intitial recordsource via SQL (based on whether the user is trying to enter new data or adding to it)? That will be a lot of work if so and I've got to think there is a much more graceful way to handle it.