-
combo box and dblist controls
Hello,
Have a combobox with a bunch of lists in it. This list pertains to columns
in a Access DB table. What I would like to do is when a user selects the
item in the combo box the fields under the column name will pop up in a list
box. I've tried several things, but nothing seems to work. The last attempt
I had I boound the list box to a data control and the combo box to the list
box. Then in Combobox_change method, I put variuos codes:
list1.datalist= Select " & combo1.text & " From Products"
and I also tried this code:
data1.recordsource= "Select " & combo1.text & " From " data1.datamember
Nothing seems to work. I'm new to vb but I'm trying to do complex things
(at least I think they're complex!)
Thanks for any help
Juan
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks