Hi,
I'm trying to query records by month using the query builder. I'm a complete newbie, can someone help me with "date" criteria? ApptDate is the field that i'd like to insert the criteria in.
here's my statement:
SELECT PatientMaster.PatientAccountNumber AS Expr1, PatientMaster.PatientFirstName AS Expr2, PatientMaster.PatientLastName AS Expr3,
PatientMaster.PatientPhysicianCode AS Expr4, ApptMaster.ApptDoctor AS Expr6, ApptMaster.ApptAccountNumber, ApptMaster.ApptDate
FROM PatientMaster INNER JOIN
ApptMaster ON PatientMaster.PatientAccountNumber = ApptMaster.ApptAccountNumber
Thanks!
I'm trying to query records by month using the query builder. I'm a complete newbie, can someone help me with "date" criteria? ApptDate is the field that i'd like to insert the criteria in.
here's my statement:
SELECT PatientMaster.PatientAccountNumber AS Expr1, PatientMaster.PatientFirstName AS Expr2, PatientMaster.PatientLastName AS Expr3,
PatientMaster.PatientPhysicianCode AS Expr4, ApptMaster.ApptDoctor AS Expr6, ApptMaster.ApptAccountNumber, ApptMaster.ApptDate
FROM PatientMaster INNER JOIN
ApptMaster ON PatientMaster.PatientAccountNumber = ApptMaster.ApptAccountNumber
Thanks!