Dark Stranger
New member
- Local time
- Yesterday, 22:04
- Joined
- Mar 28, 2020
- Messages
- 10
I need your help. I work in a process improvement group in a small division of a large corporation. We have just been notified that the corporate group that created and maintains the project tracking database we use, that it will no longer be supporting it. I have been tasked by my boss with creating a quick Access based replacement. My Access and VBA skills are limited (I'm an old school Excel guy - Primarily just in-cell formulas ), so, i am requesting your help.
What I have done so far:
The DB consists of 4 tables:
tblProjectInfo - a table of the project demographics, status, participants
tblBenefits - a table of the estimated and actual savings from the projects
tblResources - A table of Participant demographics
tblTasks - A table of associated tasks for the project
The primary keys for each table are auto-numbers that users will not see.
Users would enter info for project ideas into the form frmProjectInfo, but a project number would not be generated until the idea is accepted as a project and is ready to go active. I attempted to create a code that would create a 5 digit project number that consists of 2 digit year and three digit serial number (Three digits is enough - we are a small group and will never exceed 999 projects in a year.) The code would be in the "On Click" Event property of a command button on frmProjectInfo. The project number field is named ProjectNumber. There are several dates on tblProjectInfo that could be used to get the year, but i would prefer to use the system date when the button is clicked.
I'm not knowledgeable enough to create the code myself, so i tried to use a few examples I found on earlier threads, but couldn't get them to work.
What code should I use?
Thanks
What I have done so far:
The DB consists of 4 tables:
tblProjectInfo - a table of the project demographics, status, participants
tblBenefits - a table of the estimated and actual savings from the projects
tblResources - A table of Participant demographics
tblTasks - A table of associated tasks for the project
The primary keys for each table are auto-numbers that users will not see.
Users would enter info for project ideas into the form frmProjectInfo, but a project number would not be generated until the idea is accepted as a project and is ready to go active. I attempted to create a code that would create a 5 digit project number that consists of 2 digit year and three digit serial number (Three digits is enough - we are a small group and will never exceed 999 projects in a year.) The code would be in the "On Click" Event property of a command button on frmProjectInfo. The project number field is named ProjectNumber. There are several dates on tblProjectInfo that could be used to get the year, but i would prefer to use the system date when the button is clicked.
I'm not knowledgeable enough to create the code myself, so i tried to use a few examples I found on earlier threads, but couldn't get them to work.
What code should I use?
Thanks