Some one help me please with this challenge.
Let me first give you a short summary about my DB, Lets take an example, there is budgetRef(ProjectNumber), each budgetRef has 7 phases(Activities) these phases are standard, each phase has a number of SubActivities. For example, P30158 has all the 7 phases such as (Intiation,Pre bidding....etc) the initiation phase has TOR, and bid SubActivities.
oK, I have 3 subForms (sfrmProjectRef, sfrmBudgetActivityDates, sfrmSubActivity). I placed these subform in "ProjectOverAll" form.
First a user will start enterindg dates from the lowest level which is "sfrmSubActivity".
Lets take P30158, Initiation, TOR, plannedStartDate
then P30158, Initiation, Bid, plannedStartDate.
then i need to loop through these 2 records and find out the lowest plannedstartdate and enter it automatically into the plannedStartDate in initiation phase for P30158 in "sfrmBudgetActivityDates"
then in "sfrmSubActivity" i should loop through all plannedStartDates records for all phases for a particular project lets say P30158 in this case and find out the lowest plannedStartDates and enter it automatically into plannedstartdate textbox for P30158 in "sfrmProjectRef"
For plannedEndDate, i need to do the same thing but find the bigger or the latest date. also, i need to do the same for Actual and forecast dates. i am still struggling...can't make any progress. What do you think about this problem...Any help.
It might be difficult to understand what i want without having a look at my DB.
I can email my db, if some one is willing to help. here is my email: hyousef4@yahoo.com
Let me first give you a short summary about my DB, Lets take an example, there is budgetRef(ProjectNumber), each budgetRef has 7 phases(Activities) these phases are standard, each phase has a number of SubActivities. For example, P30158 has all the 7 phases such as (Intiation,Pre bidding....etc) the initiation phase has TOR, and bid SubActivities.
oK, I have 3 subForms (sfrmProjectRef, sfrmBudgetActivityDates, sfrmSubActivity). I placed these subform in "ProjectOverAll" form.
First a user will start enterindg dates from the lowest level which is "sfrmSubActivity".
Lets take P30158, Initiation, TOR, plannedStartDate
then P30158, Initiation, Bid, plannedStartDate.
then i need to loop through these 2 records and find out the lowest plannedstartdate and enter it automatically into the plannedStartDate in initiation phase for P30158 in "sfrmBudgetActivityDates"
then in "sfrmSubActivity" i should loop through all plannedStartDates records for all phases for a particular project lets say P30158 in this case and find out the lowest plannedStartDates and enter it automatically into plannedstartdate textbox for P30158 in "sfrmProjectRef"
For plannedEndDate, i need to do the same thing but find the bigger or the latest date. also, i need to do the same for Actual and forecast dates. i am still struggling...can't make any progress. What do you think about this problem...Any help.
It might be difficult to understand what i want without having a look at my DB.
I can email my db, if some one is willing to help. here is my email: hyousef4@yahoo.com