Moving from form to form and maintaining info in original form

G

Guest

The easiest way to explain this is that I am creating a math test. The
question is in text form with the answer available in a combo list. If they
don't know the answer, they can select the help command button (associated
with that question only) which takes them to a new form with a multiplication
table on it. Each box inside the table is a command button assigned a value,
once they select the answer (3X5 = 15) (That's three down and five across) by
sleecting the comand button, I want to dispay the value on that form (like at
the bottom and if they are happy with it, they can then select another comand
button (Back to test). How do I go back to the orignal form still filled in
with their answers?

Also, how do I tie all the command buttons together in the multiplication
table so that only one can be depressed at a time?

Appreciate your help.
 
T

tina

comments inline.

Liz L :>) said:
The easiest way to explain this is that I am creating a math test. The
question is in text form with the answer available in a combo list. If they
don't know the answer, they can select the help command button (associated
with that question only) which takes them to a new form with a multiplication
table on it. Each box inside the table is a command button assigned a value,
once they select the answer (3X5 = 15) (That's three down and five across) by
sleecting the comand button, I want to dispay the value on that form (like at
the bottom and if they are happy with it, they can then select another comand
button (Back to test). How do I go back to the orignal form still filled in
with their answers?

well, assuming that you did not close the Test form, when you opened the
Help form, all you have to do is close the Help form. if the Test form is
the only form remaining open, it should automatically become the active form
again.
Also, how do I tie all the command buttons together in the multiplication
table so that only one can be depressed at a time?

command buttons don't remain in a "depressed" state after being clicked, so
it's not an issue. but if you *want* a clicked button to remain depressed
until another button is clicked, you can use one or more option group
controls with toggle buttons (an option group control can hold a maximum of
20 options), instead of command button controls.

if you use only one option group control, depressing one toggle button will
automatically "un-depress" any other button in the group that's depressed.
if you use more than one control, you can run code on each option group's
AfterUpdate event to set the other option groups' values to Null,
effectively "un-depressing" any other selected toggle buttons.

hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top