hmmm... no worries Pat. i got it working. it seems i needed a piece of code inthe command button the opens the report. below is what i added.
DoCmd.OpenReport stDocName, acPreview, "", "[PatientID]=[Forms]![frmAppointments]![PatientID]"
so in fact i didn't really need sql. thanks for taking the time to look at my post anyway tho, it was greatly appreciated.
bajan elf