Solved

Load Checkbox selextions into a list

Posted on 2004-08-18
1
208 Views
Last Modified: 2013-12-18
In my Fuction I need to load the values from a checkbox into a List for processing. In the following code I get an error referencing my list.

Function newEmplApproval(doc As NotesDocument) As Variant
      Dim newEmplItems List As Variant
      .....
      newEmplItems = doc.fldEmplReqs -**** this is the line I get an error
                                                                             about referencing and illegal
                                                                             array
      Forall x In newEmplItems
            apr =  Listtag(x)
            If apr  <> "" Then
                  .........
0
Comment
Question by:bobdraz
1 Comment
 
LVL 31

Accepted Solution

by:
qwaletee earned 500 total points
ID: 11833825
newEmpItems is a list variable.  Take out the LIST keyword.  the forall loop will still work because it works with either lists or arrays.  Assigning newEmpItems to doc.fldEmpReqs assigns it an array.
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question