Solved

Listbox to Listbox (dif. forms)

Posted on 2004-08-24
1
161 Views
Last Modified: 2010-05-03
Anyone know the code for clicking an item in a listbox on one form, and by doing so copying that item to a different listbox on a different form?  Found a couple of book references for doing this between listboxes on *same* form, but not this.  Thanks!
0
Comment
Question by:di6non
1 Comment
 
LVL 3

Accepted Solution

by:
nichia earned 50 total points
ID: 11882038
This should not be a problem as long as the forms are in the same project.  You reference the listbox in the second form like this:

Form2.List2.Additem(...) 'Reference List2 on Form2
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

867 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

23 Experts available now in Live!

Get 1:1 Help Now