I have many projects and each project has many tasks. Each time we start a new project staff spend hours loading in all the tasks.
In very many cases we already have a project where the tasks are very similar. If the staff could copy/duplicate the tasks from the similar project and just replace the project_id with the project_id of the new project, then the team could save hours by just adjusting the tasks that were different.
I have a Table TBL_Project_Tasks and it holds the tasks for all projects. Each record holds Task_id; Project_id; Task Description; Task_sequence; Task comment and some other fields that are not important.
I have a simple Datasheet that I created and it writes to a new second Table TBL_New_Projects. It has User-id and time_stamp (for records only); Copy_from_Project_id; Copy_to_Project_id.
I wanted to create a trigger in TBL_New_Projects so that when a new record was inserted into TBL_New_Projects, all the records in TBL_Project_Tasks where the Project_id = Copy_from_Project_id were duplicated but with the Project-id replaced by Copy_to_Project_id.
The team can just use our regular ‘Edit_Task’ datapage to adjust any tasks they need
I have spent hours with the Triggered action and it seems I just do not have the knowledge to make this work ( I am a beginner after all).
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Colnocode
I have many projects and each project has many tasks. Each time we start a new project staff spend hours loading in all the tasks.
In very many cases we already have a project where the tasks are very similar. If the staff could copy/duplicate the tasks from the similar project and just replace the project_id with the project_id of the new project, then the team could save hours by just adjusting the tasks that were different.
I have a Table TBL_Project_Tasks and it holds the tasks for all projects. Each record holds Task_id; Project_id; Task Description; Task_sequence; Task comment and some other fields that are not important.
I have a simple Datasheet that I created and it writes to a new second Table TBL_New_Projects. It has User-id and time_stamp (for records only); Copy_from_Project_id; Copy_to_Project_id.
I wanted to create a trigger in TBL_New_Projects so that when a new record was inserted into TBL_New_Projects, all the records in TBL_Project_Tasks where the Project_id = Copy_from_Project_id were duplicated but with the Project-id replaced by Copy_to_Project_id.
The team can just use our regular ‘Edit_Task’ datapage to adjust any tasks they need
I have spent hours with the Triggered action and it seems I just do not have the knowledge to make this work ( I am a beginner after all).
Can you help??
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.