On your first combo write code like this for the OnChange event:
Combo2.RowSource = "SELECT ModelName FROM tblCPUModel WHERE CPUManufacturer = '" & Combo1.Value & "';"
This is assuming you have 2 tables
tblManufacturer that contains a list of CPU Manufacturers...
Here is a function that will tell you if a table exists:
Public Function TableExists(strTableName As String) As Integer
Dim db As Database
Dim i As Integer
Set db = CurrentDb
TableExists = False
db.TableDefs.Refresh
For i = 0 To db.TableDefs.count - 1
If strTableName =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.