G
Guest
I have a report bound to a work order table. When a work order is printed
(via the report) it is considered to be issued and a field named IssueDate in
the table is updated with the current date.
Sometimes, I need a batch operation to print work orders that are not yet
printed/issued (like at the end of the week). I have a button on a
switchboard form that when clicked, changes the RecordSource of the report
from the underlying table to a query that selects all records where the
IssueDate field is empty. However, when I run the report, the IssueDate bound
control on the report is empty, since the report is based on this query. If I
create a RecordSet and update the IssueDate field to reflect the current
date, the report fails because there are now no records with an empty
IssueDate field.
Is there any way to set the value of the report's IssueDate control at
runtime? Or, do I need an unbound text box control, and if this is the case,
how would I set the value of this text box in VBA?
Thanks
(via the report) it is considered to be issued and a field named IssueDate in
the table is updated with the current date.
Sometimes, I need a batch operation to print work orders that are not yet
printed/issued (like at the end of the week). I have a button on a
switchboard form that when clicked, changes the RecordSource of the report
from the underlying table to a query that selects all records where the
IssueDate field is empty. However, when I run the report, the IssueDate bound
control on the report is empty, since the report is based on this query. If I
create a RecordSet and update the IssueDate field to reflect the current
date, the report fails because there are now no records with an empty
IssueDate field.
Is there any way to set the value of the report's IssueDate control at
runtime? Or, do I need an unbound text box control, and if this is the case,
how would I set the value of this text box in VBA?
Thanks