Solved

Load Checkbox selextions into a list

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now