G
GZ
Hi, there:
I have created a form. On the form there are some text boxes. I want to add
a button to print the content of the form by print a report. I have no ideal
how to transfer data on the form to the report.
On the report, I wrote:
Dim StrStdId As String
StrStdId = Form_Invoice.txtStdID_Onform
txtStdID_OnReport = StrStdId
It seems the report can recognize the data in the form Invoice (strStdID
got a value from the form), but I cannot assign the data to
txtStdID_OnReport. It said: "You cannot assign a value to this object"
Anyone can help?
Thanks!
GZ
I have created a form. On the form there are some text boxes. I want to add
a button to print the content of the form by print a report. I have no ideal
how to transfer data on the form to the report.
On the report, I wrote:
Dim StrStdId As String
StrStdId = Form_Invoice.txtStdID_Onform
txtStdID_OnReport = StrStdId
It seems the report can recognize the data in the form Invoice (strStdID
got a value from the form), but I cannot assign the data to
txtStdID_OnReport. It said: "You cannot assign a value to this object"
Anyone can help?
Thanks!
GZ