Code:
SELECT PhysicianT.physID, PhysicianT.firstName, PhysicianT.middleName, PhysicianT.lastName, PhysicianT.fullName, PhysicianT.department1, PhysicianT.department2, PhysicianT.department3, PhysicianT.program1, PhysicianT.program2, PhysicianT.program3, PhysicianT.section1, PhysicianT.section2, PhysicianT.section3, PhysicianT.officePhoneNumber, PhysicianT.faxNumber, PhysicianT.emailAddress, PhysicianT.officeAddress, PhysicianT.medCorpName, PhysicianT.pagerNumber, PhysicianT.cellPhoneNumber, PhysicianT.homePhoneNumber, PhysicianT.activeInactive, PhysicianT.inactiveReason, PhysicianT.uOfMRank, PhysicianT.dateOfBirth, PhysicianT.appointment, PhysicianT.homeAddress, PhysicianT.recentPerformanceReview, PhysicianT.performanceReviewer, PhysicianT.perfRevIncludedClinical, PhysicianT.umEmployeeID, PhysicianT.umFirstContract, PhysicianT.wrhaFirstContract, PhysicianT.ccmbFirstContract, PhysicianT.emergFirst, PhysicianT.emergLast, PhysicianT.emergPhone1, PhysicianT.emergPhone2, PhysicianT.emergDetails, PhysicianT.prctResearch, PhysicianT.prctClinical, PhysicianT.prctAdmin, PhysicianT.prctTeaching
FROM PhysicianT
WHERE (((PhysicianT.physID) Like [forms]![physiciannameselectf]![Combo0] & "*"))
ORDER BY PhysicianT.lastName;
I just did a search on the operators I am using after my 'Like'; it seems to me there is something about the '&' I don't quite understand. When I changed & to And in the code, it only returned one employee. Can I get an explanation for this?