Hey all. I'm back again.
I have a main form and subform set up where the main form shows a work order and the subform allows the operator to enter various materials required.
I'd like to set up a button to print up a purchase order for all of the items entered, then set the "order date" for each to the current date.
I tried to add a standard "print report" button and insert:
Me![MaterialOrdersTbl subform].Form!OrderedDate = Now
after the print report call. It works (sort of) - but it only updates the first record in the subform.
I tried setting up a separate button with the above statement as the ONLY command and it works perfectly. Any ideas?
Thanks in advance.
I have a main form and subform set up where the main form shows a work order and the subform allows the operator to enter various materials required.
I'd like to set up a button to print up a purchase order for all of the items entered, then set the "order date" for each to the current date.
I tried to add a standard "print report" button and insert:
Me![MaterialOrdersTbl subform].Form!OrderedDate = Now
after the print report call. It works (sort of) - but it only updates the first record in the subform.
I tried setting up a separate button with the above statement as the ONLY command and it works perfectly. Any ideas?
Thanks in advance.