Hello, I need some help with creating a user input based on several forms (I think). What I want is for the user to enter each section of information, and then to at the end hit enter and be shown a print preview of the completed data ready for printing.
Say I have 3 sections of data:
1) Customer
2) Products
3) Details
I think that the simplest way would be to on the After_Update event of the last field on each form have some code that will then automatically open the next form:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "data_entry_form"
DoCmd.OpenForm stDocName, , , stLinkCriteria
And to then add code to the OnLoad event of the next form to close the previous form.
The only other way I can think of is to use a command button to open the next form, but this sounds like a less efficient way of doing things. I think I may have answered my question by using the After_Update event above, but would be interested if there is any better way of achieving the same thing. Thanks.
Say I have 3 sections of data:
1) Customer
2) Products
3) Details
I think that the simplest way would be to on the After_Update event of the last field on each form have some code that will then automatically open the next form:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "data_entry_form"
DoCmd.OpenForm stDocName, , , stLinkCriteria
And to then add code to the OnLoad event of the next form to close the previous form.
The only other way I can think of is to use a command button to open the next form, but this sounds like a less efficient way of doing things. I think I may have answered my question by using the After_Update event above, but would be interested if there is any better way of achieving the same thing. Thanks.