Hello - I am developing a component of my application which performs about a dozen tasks, each task having its own procedure. It roughly flows like this:
1.user chooses excel file to import
2.data from file is imported into a temp table & recordset created for data validation
3.field values are scanned and compared to existing data used for validation
4.values that do not pass validation are shown to user so they can make edits
5.user's changes are applied to the recordset
6.final import of data into permanent table
Im trying to devise a way to control the flow between the dozen or so separate procedures used for this process. I currently have all of the procedures in one standard module, and then a "main" procedure in a form module which just calls each of the separate procedures one at a time.
How can use flags to determine what step in the process I'm at? For example, pausing to accept user input, and then restarting at the correct procedure..
1.user chooses excel file to import
2.data from file is imported into a temp table & recordset created for data validation
3.field values are scanned and compared to existing data used for validation
4.values that do not pass validation are shown to user so they can make edits
5.user's changes are applied to the recordset
6.final import of data into permanent table
Im trying to devise a way to control the flow between the dozen or so separate procedures used for this process. I currently have all of the procedures in one standard module, and then a "main" procedure in a form module which just calls each of the separate procedures one at a time.
How can use flags to determine what step in the process I'm at? For example, pausing to accept user input, and then restarting at the correct procedure..