Hi again
Have data basically as follows:
id age ddob day month month_mmm
124729 18 28/12/1991 28 12 December
27174 24 28/12/1985 28 12 December
42755 20 29/12/1989 29 12 December
23671 23 29/12/1986 29 12 December
172089 25 30/12/1984 30 12 December
34833 27 31/12/1982 31 12 December
22937 21 1/01/1989 1 1 January
34129 19 1/01/1991 1 1 January
36656 19 4/01/1991 4 1 January
29852 22 4/01/1988 4 1 January
The report required is a list of members whose birthday fall between two parameter dates. The problem is when dates cover year end. For example if parameter start_date 29/12/2010 to end_date 01/01/2010 and record selection month > month(start_date) and month < month(end_date). I see no records returned as it translates to month >12 and month <1.
Tried creating formula for what their birthday would be in each year i.e Date(day,month,year(start_date)and Date(day,month,year(end_date) for record selection against start and end dates but no luck.
Can anyone suggest a solution.
Thanks ladporter
Have data basically as follows:
id age ddob day month month_mmm
124729 18 28/12/1991 28 12 December
27174 24 28/12/1985 28 12 December
42755 20 29/12/1989 29 12 December
23671 23 29/12/1986 29 12 December
172089 25 30/12/1984 30 12 December
34833 27 31/12/1982 31 12 December
22937 21 1/01/1989 1 1 January
34129 19 1/01/1991 1 1 January
36656 19 4/01/1991 4 1 January
29852 22 4/01/1988 4 1 January
The report required is a list of members whose birthday fall between two parameter dates. The problem is when dates cover year end. For example if parameter start_date 29/12/2010 to end_date 01/01/2010 and record selection month > month(start_date) and month < month(end_date). I see no records returned as it translates to month >12 and month <1.
Tried creating formula for what their birthday would be in each year i.e Date(day,month,year(start_date)and Date(day,month,year(end_date) for record selection against start and end dates but no luck.
Can anyone suggest a solution.
Thanks ladporter