I have an Access database with 3 tables... Cat, SubCat, and Links.
Cat is as follows:
autCatID (autonumber)
txtCatName (text)
SubCat is as follows:
autSubCatID (autonumber)
intSubCatParent (integer, contains the appropriate number from Cat.autCatID)
txtSubCatName (text)
Links is as follows:
autLinkID (autonumber)
intLinkParent (integer, contains the appropriate number from SubCat.autSubCatID)
txtLinkName (text)
txtLinkURL (text)
My form has three ListBoxes, Cat, SubCat, and Links. You can guess what data goes in them! My problem is that I can't figure out how to bind the data to the controls. I need it so that Cat shows all data from Cat table, but when an item is clicked, it displays the relevant data from the SubCat table. Same goes for Links, where it has to show relevant data from Link table.
I can't for the life of me work out how to bind the data using the supplied GUI. I can do this easily under VB6 - I just use CreateObject and supply SQL statement using the ListBox data. I can't do this under
VB 2005. What a step backwards this P.O.S is.