Guest_imported
New member
- Jan 1, 1970
- 0
What is the easiest way to get a date field into my report if it is dependent on the group value.
What I mean is I have a report which groups research projects according to the stage they are at: Confirmed, Fieldwork Commenced, Debriefed. Each one of these stages has a different date, but each date is in the projects table. I have a report which sorts by Stage reached. For each section I need to include the relevant milestone date, so for projects confirmed I need to include the confirmed date. For projects with fieldwork begin/finished I need to put the fieldwork date, but not the confirmed date; for those projects which have reached debrief I need to put the debrief date but not the other two.
I have tried doing it with VB using an If Then Else but can't work out where to attach it.
Would a macro be easier?
What I mean is I have a report which groups research projects according to the stage they are at: Confirmed, Fieldwork Commenced, Debriefed. Each one of these stages has a different date, but each date is in the projects table. I have a report which sorts by Stage reached. For each section I need to include the relevant milestone date, so for projects confirmed I need to include the confirmed date. For projects with fieldwork begin/finished I need to put the fieldwork date, but not the confirmed date; for those projects which have reached debrief I need to put the debrief date but not the other two.
I have tried doing it with VB using an If Then Else but can't work out where to attach it.
Would a macro be easier?