Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function SeenInLastThreeMonths([b]PatientName[/b] As String) As Boolean
Dim dteLast as Date
dteLast = DMax("appointmentDate", "tblAppointments", "[i]PatientNameField[/i]='" & [b]PatientName[/b] & "'")
If DateDiff("m", Date, dteLast) <= 3 Then
SeenInLastThreeMonths = True
Else
SeenInLastThreeMonths = False
End If
End Function
Function SeenInLastThreeMonths(PatientName As String) As Boolean
SeenInLastThreeMonths = (DateDiff("m", Date, DMax("appointmentDate", "tblAppointments", "PatientNameField='" & PatientName & "'")) <= 3)
End Function