PaquettePaul
Member
- Local time
- Today, 17:24
- Joined
- Mar 28, 2022
- Messages
- 107
I have a form with a list box that has the key identifiers for a table and a subform for data entry/review. When the user clicks on an entry in the list box, the master key is set which changes the view in the child subform. In the subform, I have two combo boxes: a list of aircraft and the second is a list of rate plans for the aircraft. The rate plan combo box is based on a query which refers to the chosen aircraft (I.e., the aircraft combo box) which means that the user can only select rate plans pertinent to the chosen aircraft.
This process work great during the creation of a new record. However, I have an issue when selecting records from the list box. In most cases, the aircraft is shown but not the rate plan. In some cases, the rate plan is shown as well. If I click twice on the record identifier in the list box, both the aircraft and the rate plan show up most of the time. I tried doing a combo box.requery in the form_current routine but that did not fix the problem. The only code associated with this is the field form reference in the query.
Anyone have similar problems and know how to fix it?
This process work great during the creation of a new record. However, I have an issue when selecting records from the list box. In most cases, the aircraft is shown but not the rate plan. In some cases, the rate plan is shown as well. If I click twice on the record identifier in the list box, both the aircraft and the rate plan show up most of the time. I tried doing a combo box.requery in the form_current routine but that did not fix the problem. The only code associated with this is the field form reference in the query.
Anyone have similar problems and know how to fix it?