Since the mobile version is a little buggy, I've been attempting to write a query to pull my schedule for a week at a time (or a given time period) which can then be imported into Outlook or Google Calendars. From there, it can be synced with my mobile device. I am trying to get only Last name, First name, Procedure description, Start time, and End time however I keep getting stuck in some Do-Loop and the program hangs up (One class in 1982 writing Fortran doesn't help at all!)

. I've also used the Appointment reports (which is already in the program) and exported that as a comma-del file, then sorted out which categories I need and then imported this into Outlook. It does work, but is a very long way around this problem. Any help on which category names (LName, FName,AptDateTime etc) that are necessary or another solution to this problem? Thanks.
Jim