Dear
I have a question concerning VBA in MS Access to make a database automated.
The situation: I inherrited a toolkit from a previous collegue, and so far I could do every requested modification with tables and queries.
The toolkit works as follows: when the database is opened, there is a form opening. In this form you can select a project from the list variables (by scrolling), and you can do several calculations by pressing a button that runs a macro.
Due to a centralisation, this tool will be used in other divisions, and there is a need to run several analyses on different projects in a batch (e.g 10 project calculations over night).
Therefore I would like to make a list that represents the batch (e.g. Project A, project D, project F...), but I need some kind of method to do the following:
- select project A in the start-up form
- run macro
- select project D in the start-up form
- run macro
- select project F in the start-up form
- run macro
- ...
The reason that I have to work via the start-up form is that many queries go back to use values from the start-up from. I know it is not ideal, but I did not create the database.
What would the best to use for this?
I have so far no knowledge at all about VBA. My software-knowledge is restricted to basic JAVA (school course 7 years ago) and some mathematical programming (maple and matlab)
Does any-one has some VBA code in mind to get this done?
Thanks in advance
Kristof
I have a question concerning VBA in MS Access to make a database automated.
The situation: I inherrited a toolkit from a previous collegue, and so far I could do every requested modification with tables and queries.
The toolkit works as follows: when the database is opened, there is a form opening. In this form you can select a project from the list variables (by scrolling), and you can do several calculations by pressing a button that runs a macro.
Due to a centralisation, this tool will be used in other divisions, and there is a need to run several analyses on different projects in a batch (e.g 10 project calculations over night).
Therefore I would like to make a list that represents the batch (e.g. Project A, project D, project F...), but I need some kind of method to do the following:
- select project A in the start-up form
- run macro
- select project D in the start-up form
- run macro
- select project F in the start-up form
- run macro
- ...
The reason that I have to work via the start-up form is that many queries go back to use values from the start-up from. I know it is not ideal, but I did not create the database.
What would the best to use for this?
I have so far no knowledge at all about VBA. My software-knowledge is restricted to basic JAVA (school course 7 years ago) and some mathematical programming (maple and matlab)
Does any-one has some VBA code in mind to get this done?
Thanks in advance
Kristof