G
Guest
Hello, there.
I need your expert advice on how to pass a second parameter to a report at
run-time through code.
I have this custom developed system that processes reports on the backend
server.
For instance, rptInvoice takes in a where_Clause (InvNo="12345") with its
filter property at run-time. Now I need to pass it the recipient's fax number
as 2nd parameter.
The current system uses Caption to recieve the paramter, and by
doCmd.printOut, whth fax server spesified as printer, it just know to fax it
out.
Due to the change of the fax server, now the fax number is required to be on
the body of the report/document.
I have added a textbox on the page header, and I want to make its control
source = me!caption or me!Tag or something at design time. At run-time, by
assgining a value to that property, the data will be dynamically insert into
the field.
Anyway, I am not sure I am doing the right way because it is not working!
Thanks!
I need your expert advice on how to pass a second parameter to a report at
run-time through code.
I have this custom developed system that processes reports on the backend
server.
For instance, rptInvoice takes in a where_Clause (InvNo="12345") with its
filter property at run-time. Now I need to pass it the recipient's fax number
as 2nd parameter.
The current system uses Caption to recieve the paramter, and by
doCmd.printOut, whth fax server spesified as printer, it just know to fax it
out.
Due to the change of the fax server, now the fax number is required to be on
the body of the report/document.
I have added a textbox on the page header, and I want to make its control
source = me!caption or me!Tag or something at design time. At run-time, by
assgining a value to that property, the data will be dynamically insert into
the field.
Anyway, I am not sure I am doing the right way because it is not working!
Thanks!