I have a function BirthdaySoon() that returns the number of days left before a client's birthday. However I want to put this information on a report in sorted order from the nearest birthday until the furthest and maybe filtering out birthdays that are very far away.
The design of the report at the moment is like this:
Name DoB Age Days to go
-------------------------------------------
[Name] [DoB] [age] BirthdaySoon() & " days to go"
As you can see the function is called BirthdaySoon() and this just returns a number of days left to go. Is there a way to sort the report out?