I'm using this IIf statement in event procedure for onclick. If cdmarker =cd, it works, but if it equals ss, I want it to do the else. Any help would be appreciated.
Private Sub Copy411_Click()
'If FIsLoaded("FEditHUD") Then
If Forms!FEditHud!cdmarker = "cd" Then
Call CopyTwoFields("FSettlementPage1","Text694", "text700", "K411c", "K411")
Else
Call CopyTwoFields("FSettlementPage1","J112c", "J112", "K411c", "K411")
End If
'End If
End Sub