G
Guest
I have created a report with a linked subreport based on a form with a linked
subform.
When I add a new record to the main form and a new record to the subform and
print the report based on the main form record it displays the last record in
my table and not the new one.
When I close the form, re-open it, and print the report, it displays the
proper record and subrecords.
My initial thought was that it is an autonumber issue, but I am not sure
what I can do to resolve it. I have tested adding Save, Requery, and Refresh
statements before my OpenReport statement, but I still have the same result.
While the close and reopen work around fixes it, it is not what I would like
for the final product.
Any suggestions on would be greatly appreciated.
subform.
When I add a new record to the main form and a new record to the subform and
print the report based on the main form record it displays the last record in
my table and not the new one.
When I close the form, re-open it, and print the report, it displays the
proper record and subrecords.
My initial thought was that it is an autonumber issue, but I am not sure
what I can do to resolve it. I have tested adding Save, Requery, and Refresh
statements before my OpenReport statement, but I still have the same result.
While the close and reopen work around fixes it, it is not what I would like
for the final product.
Any suggestions on would be greatly appreciated.