H
helios
I am trying to use DMax in text boxes in a grouping level header in a report
and the report always returns the maximum dates for the entire query, not for
the domain of the grouping levels. Does the domain of the DMax function
override the grouping? Each group interval value shows up on the report, but
with the same maximum values of the dates I'm trying to track.
About me:
I don't know SQL, so I do most calculations in calculated fields in queries
or in calculated controls in reports.
About the database:
I am tracking intervals between steps in a process--I have three tables: one
with client ProgramCodes, another with names of the Actions which serves as a
control source list for [ActionType] in a table with TrackingDates.
I was going to use DMax to retrieve the maximum date in each type of action
(or step in the process, although there is no specific order for many of the
in-between steps). I was then going to use calculated controls to get the
interval between these steps and feed those into averages in the report
footer.
But I can't get the grouping on [ProgramCode.ProgramID] to make the DMax
expression to pull maximum dates for each client (with a unique ID that links
to the actions held in the TrackingDates table.
I'm a newbie, so I hope I've explained enough. Thanks in advance.
Sunshine Hall
and the report always returns the maximum dates for the entire query, not for
the domain of the grouping levels. Does the domain of the DMax function
override the grouping? Each group interval value shows up on the report, but
with the same maximum values of the dates I'm trying to track.
About me:
I don't know SQL, so I do most calculations in calculated fields in queries
or in calculated controls in reports.
About the database:
I am tracking intervals between steps in a process--I have three tables: one
with client ProgramCodes, another with names of the Actions which serves as a
control source list for [ActionType] in a table with TrackingDates.
I was going to use DMax to retrieve the maximum date in each type of action
(or step in the process, although there is no specific order for many of the
in-between steps). I was then going to use calculated controls to get the
interval between these steps and feed those into averages in the report
footer.
But I can't get the grouping on [ProgramCode.ProgramID] to make the DMax
expression to pull maximum dates for each client (with a unique ID that links
to the actions held in the TrackingDates table.
I'm a newbie, so I hope I've explained enough. Thanks in advance.
Sunshine Hall