G
Guest
With the following code I'm checking to see if the patient has a prior visit.
If not, I want to set the date picker control to today's date. My code works
fine for doing that. What I need hlp with is the Else statement. If the
patient does have a prior visit, what do I put after the =, it should read;
else, load the patient's visit dates, or do the standard thing as if the code
wasn't there to beging with. Hope that's clear.
Thanks, Rob
If (DCount("*", "[qryVisitList]") < 1) Then
Me.frmVisitNewEdit.Form.DTPicker7.Value = Date
Else: Me.frmVisitNewEdit.Form.VisitDate = ??????
End If
If not, I want to set the date picker control to today's date. My code works
fine for doing that. What I need hlp with is the Else statement. If the
patient does have a prior visit, what do I put after the =, it should read;
else, load the patient's visit dates, or do the standard thing as if the code
wasn't there to beging with. Hope that's clear.
Thanks, Rob
If (DCount("*", "[qryVisitList]") < 1) Then
Me.frmVisitNewEdit.Form.DTPicker7.Value = Date
Else: Me.frmVisitNewEdit.Form.VisitDate = ??????
End If