[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Load Checkbox selextions into a list

Posted on 2004-08-18
1
Medium Priority
?
213 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

650 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