C
Citipool
I am using 2007 access (OS=XP). I designed a form in my database that works
as a homepage. It basically pulls summary of everything about a patient from
various tables. The homepage has multiple sub-forms and tabs that leads to
other subforms all joined by PatientID. Each time a patient comes in for a
visit, the homepage will act as a summary for that date of visit. So far so
good! However, when I created the search for this homepage, my where
condition is (="[PatientID]=" & [PatientID]).
Now I want the homepage to only open the Date of Visit selected. I tried to
change my where condition to (="[DateofVisit]=" & [DateofVisit]) but that
doesn’t work. If I leave my PatientID condition then I can’t get it to open
only the selected date of visit.
I created a query where I want to open a form only based on date of visit.
But when I click on a specific date of visit listed on my query subform, it
always open the form for the right patient but the wrong date of visit. How
can I fix this? Is there anyway I can have the patientID and DateofVisit
under condition? Please help.
as a homepage. It basically pulls summary of everything about a patient from
various tables. The homepage has multiple sub-forms and tabs that leads to
other subforms all joined by PatientID. Each time a patient comes in for a
visit, the homepage will act as a summary for that date of visit. So far so
good! However, when I created the search for this homepage, my where
condition is (="[PatientID]=" & [PatientID]).
Now I want the homepage to only open the Date of Visit selected. I tried to
change my where condition to (="[DateofVisit]=" & [DateofVisit]) but that
doesn’t work. If I leave my PatientID condition then I can’t get it to open
only the selected date of visit.
I created a query where I want to open a form only based on date of visit.
But when I click on a specific date of visit listed on my query subform, it
always open the form for the right patient but the wrong date of visit. How
can I fix this? Is there anyway I can have the patientID and DateofVisit
under condition? Please help.