W
WDSnews
In Access, I wonder how to create a modal dialogue box that returns a value
to the calling form. I need my code to invoke a dialogue box in which the
user selects a name from a dropdown list, then exits the dialogue returning
the People.ID to the code which called it. I know how to do this in
ObjectPal. And in Access, I can build a small form with a combobox and two
buttons. I can write code to Open the second form on the screen. However,
what's the magic to...
....make the small form modal, like a dialogue box?
....suspend the first form's code until the modal box exits?
....return a People.ID to the calling form?
....and resume executing the first form's code?
to the calling form. I need my code to invoke a dialogue box in which the
user selects a name from a dropdown list, then exits the dialogue returning
the People.ID to the code which called it. I know how to do this in
ObjectPal. And in Access, I can build a small form with a combobox and two
buttons. I can write code to Open the second form on the screen. However,
what's the magic to...
....make the small form modal, like a dialogue box?
....suspend the first form's code until the modal box exits?
....return a People.ID to the calling form?
....and resume executing the first form's code?