Hi
I hope someone can help me with the following:
1. I have an invoice date that is stored in an invoice table:
2. There are 5 different tasks that need to be completed. Each Task has 3 date fields - In a TASK table
Task1 has a :
- Basedate that is determined by the invoice date + 5 Days (Locked - User cannot change)
- PlannedCompletionDate = BaseDate +1 (Locked - User cannot change)
- ActualCompletionDate = ( User Input)
Task2 has a :
- Basedate that is determined by the Task1:BaseDate + 1 Days (Locked - User cannot change)
- PlannedCompletionDate = Task1:ActualCompletionDate +1 (Locked - User cannot change)
- ActualCompletionDate = ( User Input)
Task3 has a :
- Basedate that is determined by the Task2:BaseDate + 1 Days (Locked - User cannot change)
- PlannedCompletionDate = Task2:ActualCompletionDate +1 (Locked - User cannot change)
- ActualCompletionDate = ( User Input)
.... and so on.. for all 5 tasks
For Each Task as well I need to have the following status' in a status field - please ignore syntax...
IF Planned <= BaseDate THEN " In Progress"
IF Planned > Basedate THEN "Delayed"
IF Actual <> " Completed"
Also a number of days delayed field ..lets call it Delayed
= difference between BaseDate & Actual Date. (This will either return a -'ve number if its within time or a +'ve number if its delayed by how many days.
All that the user needs to capture via a form is the actual completion date per task which is the only field i will have in the table??
The rest of the fields can be created on the fly via a query. I understand that in the "Criteria" field in a query its not advisable to use a "created" field name .....
I think I would be able to this with a query ontop of a query ontop of a query...etc... but that just seems cumbersome
to give you an idea ... there are 40 units that each have 5 tasks which in turn have 3 dates each!!!!
Is there an easier way? Any advice would be welcome.
Thanking you in advance