J
jnbryant
How do I open a second form from the first form and having the similar fields
populated with the same information? Below is an example of how I am getting
the second form to open. I want the last name, first name, address and phone
number to be transferred over to the second form.
_______________________
Private Sub OpenFUForm_Click()
On Error GoTo Err_OpenFUForm_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "fmFUNBCB"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.GoToRecord , , acNewRec
Exit_OpenFUForm_Click:
Exit Sub
Err_OpenFUForm_Click:
MsgBox Err.Description
Resume Exit_OpenFUForm_Click
End Sub
____________________________
Thanks for any help.
populated with the same information? Below is an example of how I am getting
the second form to open. I want the last name, first name, address and phone
number to be transferred over to the second form.
_______________________
Private Sub OpenFUForm_Click()
On Error GoTo Err_OpenFUForm_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "fmFUNBCB"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.GoToRecord , , acNewRec
Exit_OpenFUForm_Click:
Exit Sub
Err_OpenFUForm_Click:
MsgBox Err.Description
Resume Exit_OpenFUForm_Click
End Sub
____________________________
Thanks for any help.