L
LisaB
Can anyone please tell me how to fix this so that when the word "Women's
Treatment" is the name of the ProgramArea the following code works?
-------------------------------------
If Me.ProgramArea = "Women's Treatment" Then
PArea = "Women" & "'" & "s Treatment" & "'"
Else
PArea = Me.ProgramArea
End If
stLinkCriteria = "[ProgramArea]=" & "'" & PArea & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Treatment" is the name of the ProgramArea the following code works?
-------------------------------------
If Me.ProgramArea = "Women's Treatment" Then
PArea = "Women" & "'" & "s Treatment" & "'"
Else
PArea = Me.ProgramArea
End If
stLinkCriteria = "[ProgramArea]=" & "'" & PArea & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria