Solved

Load Checkbox selextions into a list

Posted on 2004-08-18
1
209 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

831 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