By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,149 Members | 1,788 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,149 IT Pros & Developers. It's quick & easy.

Listboxes , How can I display the additems in form to form 2 to be viewed I'm a begin

P: 1
I've created the forms (1,2,3,4,5)
And wanted to display the additem in form 3 to 4 and 5 how can i do that..as a beginner
3 Weeks Ago #1
Share this Question
Share on Google+
1 Reply


P: 13
Hello Dianne sorry for the delay in response. What you asked of is simple. If I got you clearly, you want to display form 3 listbox items on form 4 and 5.
Try this code but if I misunderstood your question, kindly make it clear.

On form 4, double click on the form and input these lines of code
Expand|Select|Wrap|Line Numbers
  1. For i=form3.Listbox1.Items.Count -1
  2. Me.ListBox1.Items.Add(form3.Items.Item(I))
  3.  
  4. Next
  5.  
Repeat same steps for form5. Happy coding
3 Weeks Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.