M
M.P. Frosch
I am writting a VBA set of forms with Word XP. I have designed a series of
questions that are answered with check boxes. For some of these answers,
there is a need to additional information. I designed another form
(usrAdditional_Info) which has a single text field
(txtAdditionalInformation) as well as Cancel, Clear and Enter buttons.
I am stuck at figuring out how to have the text entered in
usrAdditional_Info back to the other form.
Here are the relevant bits of coding:
From the starting data form:
Private Sub cbxScalpLaceration_Click()
'
' Get additional information if laceration present
'
If cbxScalpLaceration.Value = True Then
Load usrAdditional_Info
usrAdditional_Info.Show
'THIS IS WHERE I WANT TO GET THE ADDITIONAL INFORMATION TEXT
End If
End Sub
From usrAdditional_Info:
Sub cmdCancel_Click()
txtAdditionalInformation.Value = Null
Unload usrAdditional_Info
End Sub
Sub cmdClear_Click()
txtAdditionalInformation.Value = Null
End Sub
Sub cmdSave_Click()
Unload usrAdditional_Info
End Sub
TIA.
Matthew Frosc
questions that are answered with check boxes. For some of these answers,
there is a need to additional information. I designed another form
(usrAdditional_Info) which has a single text field
(txtAdditionalInformation) as well as Cancel, Clear and Enter buttons.
I am stuck at figuring out how to have the text entered in
usrAdditional_Info back to the other form.
Here are the relevant bits of coding:
From the starting data form:
Private Sub cbxScalpLaceration_Click()
'
' Get additional information if laceration present
'
If cbxScalpLaceration.Value = True Then
Load usrAdditional_Info
usrAdditional_Info.Show
'THIS IS WHERE I WANT TO GET THE ADDITIONAL INFORMATION TEXT
End If
End Sub
From usrAdditional_Info:
Sub cmdCancel_Click()
txtAdditionalInformation.Value = Null
Unload usrAdditional_Info
End Sub
Sub cmdClear_Click()
txtAdditionalInformation.Value = Null
End Sub
Sub cmdSave_Click()
Unload usrAdditional_Info
End Sub
TIA.
Matthew Frosc