Hi everybody,
I posted this problem in another section as well, since it originally started out as something different. So I moved it here now.
Some pseudocode:
If (birthdate.month and birthdate.day) between (fromvalue.month and fromvalue.day) and (tovalue.month and tovalue.day)
Then display record.
where birthdate, fromvalue and tovalue are all defined as date?
Is this possible? Can one reference and compare the *combination* of day and month with another combination of day and month? Remember, the year must not be compared, which complicates things quite badly....
Any help with this would be greatly appreciated - this has been giving me problems for daays now
Regards
Ruan
I posted this problem in another section as well, since it originally started out as something different. So I moved it here now.
Some pseudocode:
If (birthdate.month and birthdate.day) between (fromvalue.month and fromvalue.day) and (tovalue.month and tovalue.day)
Then display record.
where birthdate, fromvalue and tovalue are all defined as date?
Is this possible? Can one reference and compare the *combination* of day and month with another combination of day and month? Remember, the year must not be compared, which complicates things quite badly....
Any help with this would be greatly appreciated - this has been giving me problems for daays now

Regards
Ruan