J
Joan
Can anyone help with the following? I am trying to set the
string aAbsent according to the contents of the field
rcdabsent!eventname with a select case but I cannot figure
out how to achieve this.
Any help welcome
Joan
Dim aAbsent As String
Select Case rcdabsent!eventname
Case rcdabsent!eventname = "holiday"
aAbsent = "holidays"
Case rcdabsent!eventname = "ABSENCE"
aAbsent = "absence"
Case rcdabsent!eventname = "sick"
aAbsent = "sdays"
End Select
Debug.Print aAbsent
string aAbsent according to the contents of the field
rcdabsent!eventname with a select case but I cannot figure
out how to achieve this.
Any help welcome
Joan
Dim aAbsent As String
Select Case rcdabsent!eventname
Case rcdabsent!eventname = "holiday"
aAbsent = "holidays"
Case rcdabsent!eventname = "ABSENCE"
aAbsent = "absence"
Case rcdabsent!eventname = "sick"
aAbsent = "sdays"
End Select
Debug.Print aAbsent