?
Solved

Load Checkbox selextions into a list

Posted on 2004-08-18
1
Medium Priority
?
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 31

Accepted Solution

by:
qwaletee earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

777 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