T
Tom
I am wondering if someone has a good idea for an approach of "transferring
data" from form to form.
Here's what I have:
- Main form with 10 texboxes (with visible property).
Here's what I'd like to achieve:
- Add another 10 textboxes (with invisible property)
- Place 10 command buttons ("Enter comment") next to the 10 visible
textboxes
- When either one of the 10 command buttons ("Enter command") is clicked,
another form pops up.
- That pop-up form has a single unbound textbox.
- Once form is closed, the value entered into the unbound textbox of the
pop-up form is passed into the invisible textbox of the mainform (next to
the command button)
In other words, here's the process step-by-step:
===============================
1. Mainform has e.g. a value of "2" in the VISIBLE_TEXTBOX_5A
2. User must provide comment as to why "2" was chosen as the answer. The
explanation must be stored in IN_VISIBLE_TEXTBOX_5B. However, since
IN_VISIBLE_TEXTBOX_5B is invisible (duh), user certainly can't do it...
instead,
3. User will click on COMMAND_BUTTON_5
4. COMMAND_BUTTON_5 opens up another form
5. User provides explanation in UNBOUND_TEXTBOX as to why "2" was chosen in
VISIBLE_TEXTBOX_5A
6. User closes pop-up form
7. Closing the pop-up form will transfer text string from UNBOUND_TEXTBOX
into IN_VISIBLE_TEXTBOX_5B
Does anyone have an ideas as to how I can make the "transfer" from unbound
textbox to another textbox
(from one form to another)? The only link between these is the controlname
of the command button (commandbutton5).
Thanks,
Tom
data" from form to form.
Here's what I have:
- Main form with 10 texboxes (with visible property).
Here's what I'd like to achieve:
- Add another 10 textboxes (with invisible property)
- Place 10 command buttons ("Enter comment") next to the 10 visible
textboxes
- When either one of the 10 command buttons ("Enter command") is clicked,
another form pops up.
- That pop-up form has a single unbound textbox.
- Once form is closed, the value entered into the unbound textbox of the
pop-up form is passed into the invisible textbox of the mainform (next to
the command button)
In other words, here's the process step-by-step:
===============================
1. Mainform has e.g. a value of "2" in the VISIBLE_TEXTBOX_5A
2. User must provide comment as to why "2" was chosen as the answer. The
explanation must be stored in IN_VISIBLE_TEXTBOX_5B. However, since
IN_VISIBLE_TEXTBOX_5B is invisible (duh), user certainly can't do it...
instead,
3. User will click on COMMAND_BUTTON_5
4. COMMAND_BUTTON_5 opens up another form
5. User provides explanation in UNBOUND_TEXTBOX as to why "2" was chosen in
VISIBLE_TEXTBOX_5A
6. User closes pop-up form
7. Closing the pop-up form will transfer text string from UNBOUND_TEXTBOX
into IN_VISIBLE_TEXTBOX_5B
Does anyone have an ideas as to how I can make the "transfer" from unbound
textbox to another textbox
(from one form to another)? The only link between these is the controlname
of the command button (commandbutton5).
Thanks,
Tom