T
Tony Williams
I have a common problem of trying to get the values of one
combobox to restrict the values in another. I've looked at
the Northwind examples. the MVPS site and a couple of
books but they all seem to do something else as well and I
can't fathom out which bits of code I need from all the
examples I've seen. Basically I have a combobox called
cmbPSubject that is based on a table tblPSubject and a
combobox called cmbSSubject based on a table tblSSubject.
The tables are linked by a field PSubjectindex. I want
whatever is chosen in cmbPSubject to dictate what is then
shown in cmbSSubject based on the PSubjectindex in both
tables matching.
As I said I've tried following all the usual source
examples but get lost with added functions that I don't
need. Can someone give me ABC instructions for this?
TIA
Tony
combobox to restrict the values in another. I've looked at
the Northwind examples. the MVPS site and a couple of
books but they all seem to do something else as well and I
can't fathom out which bits of code I need from all the
examples I've seen. Basically I have a combobox called
cmbPSubject that is based on a table tblPSubject and a
combobox called cmbSSubject based on a table tblSSubject.
The tables are linked by a field PSubjectindex. I want
whatever is chosen in cmbPSubject to dictate what is then
shown in cmbSSubject based on the PSubjectindex in both
tables matching.
As I said I've tried following all the usual source
examples but get lost with added functions that I don't
need. Can someone give me ABC instructions for this?
TIA
Tony