|
-
Jan 15th, 2002, 11:58 PM
#1
Thread Starter
Junior Member
Arrays
I've got a populated listbox on a form, whose items I'd like to access from a second form. I've set up my first form so that it imports the second form, but I still can't seem to access it. Here's the code:
Imports myApp.frmPrefs
'Dim temp to use in the for each loop
Dim temp as String
'Add items from preferences to the items of the cboPayment
For Each temp In lstPaymentOptions
cboPayment.Items.Add(temp)
Next
So lstPaymentOptions is a listbox on Form2, and I want to access its members from Form1, and ultimately make it's items the choices in a combo drop down box.
Any help you folks could offer would be greatly appreciated!!
Thanks!!
Reid
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|