Date Shared Variables

Hi all,

I have a sub report that contains a date column. In the main report I wish to publish the first and last of these dates.

I am trying to create a shared date variable then select the Minimum and Maximum values but I cannot seem to get these functions working together.

Can anyone assist?
Thanks!


stame (BOB member since 2008-12-17)

  1. Create a formula for the shared variables in your subreport.

shared DateVar min_date := minimum(date_column);
shared DateVar max_date :=maximum(date_column);

  1. You must place your subreport on a section on the main report that is before the section where you display the first and last dates.

AnthonyJ :philippines: (BOB member since 2006-06-30)

Many thanks - I will try your suggestion.


stame (BOB member since 2008-12-17)