Hi,
I have a BO which stores appointsments for a user.
I want to find out if there are double appointments. This is not prohibited, but I want to send the user a message to inform him about possible conflicts in his agenda.
What is the best way to find (and show) two or more records on the same date?
In SQL I would do it something like this:
SELECT DISTINCT Count(*) From Appointments WHERE Appointments.Date=Appointments.Date AND Appointments.ID<>Appointments.ID