D
Dan
I have a for where I want the user to search for the data
that they want and then click a button which will
transfer the data over to another form that can be
printed. Why won't this work:
'saves the name into the variable FullName
Dim FullName As String
FullName = [Full Name]
'Opens the new form that will be printed
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Print Form"
DoCmd.OpenForm stDocName, , , stLinkCriteria
'Enters the variable 'FullName' into the unbound
'text box call 'Name'
Me.Name = FullName
This keeps telling me that the field can't be updated.
All I want it to do is transfer the text over to the new
form where the user can print it without saving it. I
checked the value of the variable 'FullName' by insering
msgboxes and it has the correct value all the way
through. It won't insert the value of the
variable 'FullName' into the unbound text box.
that they want and then click a button which will
transfer the data over to another form that can be
printed. Why won't this work:
'saves the name into the variable FullName
Dim FullName As String
FullName = [Full Name]
'Opens the new form that will be printed
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Print Form"
DoCmd.OpenForm stDocName, , , stLinkCriteria
'Enters the variable 'FullName' into the unbound
'text box call 'Name'
Me.Name = FullName
This keeps telling me that the field can't be updated.
All I want it to do is transfer the text over to the new
form where the user can print it without saving it. I
checked the value of the variable 'FullName' by insering
msgboxes and it has the correct value all the way
through. It won't insert the value of the
variable 'FullName' into the unbound text box.