J
JP
I have a simple form with a list box,
an "OK" command button and a "Cancel" command button.
This form is opened when a command button on another
form is clicked using "Docmd.OpenForm". It is opened
using the "acDialog" option so that the form is modal.
When the "OK" button is clicked, I want to close the form
and return the value selected in the list box to the
calling subroutine.
Is there a way to return that value without using a
global variable?
I guess what I am really after is a list box equivalent
to the InputBox function.
Thnaks for any help.
an "OK" command button and a "Cancel" command button.
This form is opened when a command button on another
form is clicked using "Docmd.OpenForm". It is opened
using the "acDialog" option so that the form is modal.
When the "OK" button is clicked, I want to close the form
and return the value selected in the list box to the
calling subroutine.
Is there a way to return that value without using a
global variable?
I guess what I am really after is a list box equivalent
to the InputBox function.
Thnaks for any help.