Hi,
I've built a sequence that works thusly:
User chooses a value from a combo box. This causes a query to run displaying records with a field value matching the combo box in subform 1. Then, the record ID of whichever record is active in subform 1 is used to populate a text box. This text box has its after update property enabled that runs a second query which should populate a second form by matching the record id to entries in a many-to-many junction table. Everything works fine, but the second subform (which is visible on a main form with subform 1) doesn't update. If I open form 2 (which is what subform 2 is based on)from the navigation panel, it contains the correct records based on the record ID from the textbox. When I press f9, subform 2 on the main form will populate with the correct records from the first entry in subform 1, but will not populate correctly if I select any other entry in subform 1 and press f9. The textbox value changes correctly according to the entry selected in subform 1 and form 2 always contains the correct records when opened from the navigation panel after selecting different entries in subform 1. Any ideas? Sorry about the ramble.
Thanks,
Bob
I've built a sequence that works thusly:
User chooses a value from a combo box. This causes a query to run displaying records with a field value matching the combo box in subform 1. Then, the record ID of whichever record is active in subform 1 is used to populate a text box. This text box has its after update property enabled that runs a second query which should populate a second form by matching the record id to entries in a many-to-many junction table. Everything works fine, but the second subform (which is visible on a main form with subform 1) doesn't update. If I open form 2 (which is what subform 2 is based on)from the navigation panel, it contains the correct records based on the record ID from the textbox. When I press f9, subform 2 on the main form will populate with the correct records from the first entry in subform 1, but will not populate correctly if I select any other entry in subform 1 and press f9. The textbox value changes correctly according to the entry selected in subform 1 and form 2 always contains the correct records when opened from the navigation panel after selecting different entries in subform 1. Any ideas? Sorry about the ramble.
Thanks,
Bob
Comment