dialog box variable

  • Thread starter Thread starter Crystal
  • Start date Start date
C

Crystal

My main form has a command button to delete a record.
When pressed, the button calls a dialog box, with a option
group. The user selects an option and the main form
should handle the code associated with each option. How
do I get the main form to see the option selected in the
dialog box.

My primary problem is that I need the code in the main
form to wait for the user to choose an option and close
the form before it steps through the code.

Any suggestions would be helpful and appreciated,
Crystal
 
You can have an InputBox assign the user input to a variabl

Message = "Question to the user
Title = "What you want to call this InputBox
Default = "0
VarName = InputBox(Message, Title, Default

For a better explanation of syntax, use help in Access

----- Crystal wrote: ----

My main form has a command button to delete a record.
When pressed, the button calls a dialog box, with a option
group. The user selects an option and the main form
should handle the code associated with each option. How
do I get the main form to see the option selected in the
dialog box.

My primary problem is that I need the code in the main
form to wait for the user to choose an option and close
the form before it steps through the code

Any suggestions would be helpful and appreciated
Crysta
 
Back
Top