sorchard2000
Technical User
Crystal 8.5
SQL Server connection
I am working on a simple report that tracks patient appointments in the scheduling software. I need to see when an appointment is added, moved to another date and/or canceled (it's usually in that order). I currently have 2 parameters setup: StartDate (date/time) and StopDate (datetime). Then I have the select expert to select between the ?StartDate and ?StopDate. But my problem is that when an appointment cancels, the appointment date field becomes null for that cancellation (since it is canceled off the appointment software).
Currently showing:
John Smith Added appt date: 10/1/2004
John Smith Moved appt date: 10/8/2004
Needs to show:
John Smith Added appt date: 10/1/2004
John Smith Moved appt date: 10/8/2004
John Smith Canceled
So when the user puts in a search date range, my report will show the added and moved appointments but not the cancels.
My question is: is there a way to tell the select expert to choose the first date associated with that patient (the date added to the appointment software)?
This is a McKesson version of Crystal so I am required to use that StartDate and StopDate syntax in the parameter field.
I hope that is clear. Thanks for any help given!
sorchard2000
SQL Server connection
I am working on a simple report that tracks patient appointments in the scheduling software. I need to see when an appointment is added, moved to another date and/or canceled (it's usually in that order). I currently have 2 parameters setup: StartDate (date/time) and StopDate (datetime). Then I have the select expert to select between the ?StartDate and ?StopDate. But my problem is that when an appointment cancels, the appointment date field becomes null for that cancellation (since it is canceled off the appointment software).
Currently showing:
John Smith Added appt date: 10/1/2004
John Smith Moved appt date: 10/8/2004
Needs to show:
John Smith Added appt date: 10/1/2004
John Smith Moved appt date: 10/8/2004
John Smith Canceled
So when the user puts in a search date range, my report will show the added and moved appointments but not the cancels.
My question is: is there a way to tell the select expert to choose the first date associated with that patient (the date added to the appointment software)?
This is a McKesson version of Crystal so I am required to use that StartDate and StopDate syntax in the parameter field.
I hope that is clear. Thanks for any help given!
sorchard2000