dwcrockford
New Member
- Joined
- Sep 1, 2015
- Messages
- 27
Access 2013
I have designed a form for invoicing - it is set to begin a new record on open.
I have also designed a report which outlines invoices (all or outstanding).
On the report, I have given the "InvNo" a hyperlink format, and assigned an "on click" macro to it that opens the Invoice Form to the selected record. The macro code is
Where Condition: ="[InvNo]=" & [InvNo]
Data Mode: Edit
Window Mode: Dialog
The coding works with one exception. When it opens the form, it goes to "new record", and display results 2 of 2 in the bottom left of the window. If I click "back" arrow, it takes me to the hyperlinked record in the form (the one I wanted). What code am I missing in the macro to disable the "new" part of the form and go directly to the requested record. Can this be done without disabling the "new" on startup of the form when it is used by itself?
D.
Thanks
I have designed a form for invoicing - it is set to begin a new record on open.
I have also designed a report which outlines invoices (all or outstanding).
On the report, I have given the "InvNo" a hyperlink format, and assigned an "on click" macro to it that opens the Invoice Form to the selected record. The macro code is
Where Condition: ="[InvNo]=" & [InvNo]
Data Mode: Edit
Window Mode: Dialog
The coding works with one exception. When it opens the form, it goes to "new record", and display results 2 of 2 in the bottom left of the window. If I click "back" arrow, it takes me to the hyperlinked record in the form (the one I wanted). What code am I missing in the macro to disable the "new" part of the form and go directly to the requested record. Can this be done without disabling the "new" on startup of the form when it is used by itself?
D.
Thanks