Georgenetwork
Registered User.
- Local time
- Yesterday, 19:00
- Joined
- Nov 1, 2019
- Messages
- 21
I am looking for a solution. The have female participant coming for rountine therapy. The participant are visiting 12 times in 3 years.
I want a code to tell me on which visit the participant will turn 18 years old. Here are some idea i tried putting together.
I am only concern about that visit time they will turn 18 and if that time pass, it should do nothing
Some of these participants are minor.
If Visit1 - DOB = 18 Then
Me.AgeStatus = "Turning 18 on visit1"
ElseIf Visit2 - DOB = 18 Then
Me.AgeStatus = "Turning 18 on visit2 "
ElseIf Visit3 - DOB = 18 Then
Me.AgeStatus = "Turning 18 on Visit3"
End If
I want a code to tell me on which visit the participant will turn 18 years old. Here are some idea i tried putting together.
I am only concern about that visit time they will turn 18 and if that time pass, it should do nothing
Some of these participants are minor.
If Visit1 - DOB = 18 Then
Me.AgeStatus = "Turning 18 on visit1"
ElseIf Visit2 - DOB = 18 Then
Me.AgeStatus = "Turning 18 on visit2 "
ElseIf Visit3 - DOB = 18 Then
Me.AgeStatus = "Turning 18 on Visit3"
End If