I get the "LISTTAG argument not a list element" error in the following Forall. doc.fldEmplReqs is a multivalue checkbox that dos populate the variable "newEmplItems" successfully. I need to extract each value into the varible "apr".
Function newEmplApproval(doc As NotesDocument) As Variant
Dim newEmplItems As Variant
Dim newEmplkey As String
Dim apr As String
Dim aprname As String
Dim BS As String, LS As String, DLTS As String, SS As String
Dim num As String
newEmplItems = doc.fldEmplReqs
Forall x In newEmplItems
apr = Listtag(x)
If apr <> "" Then
aprname = getProfile(apr)
SS = "Action Required: Ticket # " & num
BS = "A ticket has been opened that requires your approval." & Chr(10) & Chr(10) & "All relevant information is included in the request."