C
channell
Hello,
I posted a question, and got an answer that helped me for the most part.
Now, with better jargon and a better understanding of what I am looking to
do, I will pose this updated question:
I have a subform with a TextBox (txtMR) and a Botton next to it. When I
press this Button, a different Form pops up and and allows entries. On this
Pop-Up Form, in the Footer, I have a working record counter
(txtRecordCounter). Now, when I close this form, I want what is displayed in
the record counter TextBox (txtRecordCounter) to be displayed in the TextBox
(txtMR) on the first form I was talking about. Thank you so much for your
help! My code is as follows, but does not work. An error display "Object
Required".
Private Sub Command19_Click()
On Error GoTo Err_Command19_Click
fENTRY!txtMR.Text = fMRDETAILS!txtRecordCount.Text
DoCmd.Close
Exit_Command19_Click:
Exit Sub
Err_Command19_Click:
MsgBox Err.Description
Resume Exit_Command19_Click
End Sub
-Scott Channell
I posted a question, and got an answer that helped me for the most part.
Now, with better jargon and a better understanding of what I am looking to
do, I will pose this updated question:
I have a subform with a TextBox (txtMR) and a Botton next to it. When I
press this Button, a different Form pops up and and allows entries. On this
Pop-Up Form, in the Footer, I have a working record counter
(txtRecordCounter). Now, when I close this form, I want what is displayed in
the record counter TextBox (txtRecordCounter) to be displayed in the TextBox
(txtMR) on the first form I was talking about. Thank you so much for your
help! My code is as follows, but does not work. An error display "Object
Required".
Private Sub Command19_Click()
On Error GoTo Err_Command19_Click
fENTRY!txtMR.Text = fMRDETAILS!txtRecordCount.Text
DoCmd.Close
Exit_Command19_Click:
Exit Sub
Err_Command19_Click:
MsgBox Err.Description
Resume Exit_Command19_Click
End Sub
-Scott Channell