Access 2003
I have an input form that is based on a single table with combo boxes and the selection of those boxes creates a requisition with a auto number ID. Then I click the "add line" button to open (simply make visible) a sub form to allow users to add individual line items which all ties to the requisition header tied to the requsiition ID # (rID).
When I click this add line button, it makes my line item input form appear (visible = yes)
I add a line item then click a button called "Next" or "Submit"
When the Next button is clicked, it opens (makes visible a second subform) another subform in datasheet vew that shows a summary of all line that have been added in a non updating format. All these items are a result of a query based on the rID.
Everything works find except in order to see the summarized details in the datasheet veiw subfirm that were just added, I have to manually press F9 to refresh.
How can I get the datasheet subform to refresh/re-query while still maintaining focus in the add line item subform? Everything works except the real time refresh. I have for force it with manual F9. I've tried calling it out in a macro but being a subform and not in focus, it thinks the form isn't open.
Any suggestions?