A1VBCode Forums

Combo Boxes


http://www.a1vbcode.com/vbforums/Topic31500.aspx

By Sean Downes - 6/28/2012

Hello, im trying to create a form and in my form i have 2 combo boxes. The first one is titled 'Selection' the second one is titled 'Sub'.

When a user clicks on 'Selection' and picks an item i.e 'Movies'

How do i write the coding so when the user clicks 'Movies' in 'Selection' it limits the items in 'Sub' to those connected with 'Movies'.

Cheers.

By Keithuk - 7/1/2012

Sean Downes (7/1/2012)
Sorry im really bad with understanding coding etc.

I havent set up the link between the two combo boxes thats what im trying to find out what i need to do.

If you haven't setup a link between 'Selection' Combobox and 'Movies' Combobox how do you know what has been selected in 'Selection' Combobox?

It going to be far easier to use a database to store all this info in and you can search it for specific info quickly. Depending on what you want your app to do you cound have different Tables for different subjects Movies, Hobbies, Sport, Cars etc

If you want ideas on how database apps work do a search on PSC there are 266,246 lines of database apps to check out. Just do a quick search for Movie Database.