Patty-
thank you John,
I gave it a shot, it appeared to run through the query (bar moved on the bottom) but then the sql screen went blank and the mouse hover is just spinning. It appears stuck?
thankx
Patty
---In MS_Access_Professionals@yahoogroups.com, <JohnV@...> wrote :
I have a query which will not export to excel. I have been able to export the one that was created that pulled in all the patients but this one that limits the patients to the last encounter will not export. IDEAS?
SELECT wo_master_IM3_elig_Enc.*
FROM wo_master_IM3_elig_Enc INNER JOIN (SELECT person_id, MAX(modify_timestamp) AS TimeMatch FROM wo_master_IM3_elig_Enc GROUP BY person_id) AS MaxRecord ON (wo_master_IM3_elig_Enc.modify_timestamp = MaxRecord.TimeMatch) AND (wo_master_IM3_elig_Enc.person_id = MaxRecord.person_id);
Posted by: John Viescas <johnv@msn.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (4) |