Hi Everyone,
cr 7.0
sql server 2000
2 table
appt charge
adate billdate
pname account
atime servicedate
account cpt
userid entrydate
pdoc
adoc
I am doing a left outer join on account and adate to servicedate. There will be only one appt for the day but multiple bills for the day as labs are billed seperate.
But sometimes the docs don't change the service date and the adate and the service date don't match. What I want to do is if a patietn had appt on 6/16 and the bill said 6/17. i want the report to be displayed. Right now the report picks a ealier charge eg. 6/14 which was entered on 6/17 but the patietn had appt on that day. Any suggestionwill be helpful
Thank you
RR
cr 7.0
sql server 2000
2 table
appt charge
adate billdate
pname account
atime servicedate
account cpt
userid entrydate
pdoc
adoc
I am doing a left outer join on account and adate to servicedate. There will be only one appt for the day but multiple bills for the day as labs are billed seperate.
But sometimes the docs don't change the service date and the adate and the service date don't match. What I want to do is if a patietn had appt on 6/16 and the bill said 6/17. i want the report to be displayed. Right now the report picks a ealier charge eg. 6/14 which was entered on 6/17 but the patietn had appt on that day. Any suggestionwill be helpful
Thank you
RR