sidewinder
New member
- Local time
- Today, 05:48
- Joined
- Sep 14, 2010
- Messages
- 3
Hi,
I have a main form with a multi select list box so users can choose their emergency contact.
When the OK button is pressed VBA code uses a FOR EACH loop to go through the selected emergency contacts in the list box, and display a modal popup form with one of the selected emergency contacts so a combobox can be used to select the relationship to that emergency contact. once the user presses OK in that form, the same form may appear again depending on how many emergency contacts were selected in the multi select list box.
PROBLEM.
The form inside the FOR EACH loop never stops to allow user input. It flashes 2,3,4 times depending on how many emergency contact were selected but never allows user input.
So the loop works and the records are saved correctly but with no relationship data!
Any help would be very much appreciated.
Thanks
AK
I have a main form with a multi select list box so users can choose their emergency contact.
When the OK button is pressed VBA code uses a FOR EACH loop to go through the selected emergency contacts in the list box, and display a modal popup form with one of the selected emergency contacts so a combobox can be used to select the relationship to that emergency contact. once the user presses OK in that form, the same form may appear again depending on how many emergency contacts were selected in the multi select list box.
PROBLEM.
The form inside the FOR EACH loop never stops to allow user input. It flashes 2,3,4 times depending on how many emergency contact were selected but never allows user input.
So the loop works and the records are saved correctly but with no relationship data!
Any help would be very much appreciated.
Thanks
AK