MaliciousMike
Registered User.
- Local time
- Today, 23:11
- Joined
- May 24, 2006
- Messages
- 118
Hello,
I have a form which gets it's records from qryCompleted.
The form shows all records with selected fields in a list.
Each title of the fields is a drop down box which need to update everytime any of the other drop down boxes are updated.
For example, if cmbCompanyName was updated, then all other drop down boxes need to have "select [field] From qry Where [company name] = cmbcompany name".
If cmbcompanyname and cmbregionname is updated, all other boxes need to have "select [field] From qry Where [company name] = cmbcompany name and [region name]=cmbregionname".
and so on and so on.
There's 6 fields that need to have filters on, which i quickly calculated at about "A shitload" of 'if-then-else' statements.
Is there an easier way?
I have a form which gets it's records from qryCompleted.
The form shows all records with selected fields in a list.
Each title of the fields is a drop down box which need to update everytime any of the other drop down boxes are updated.
For example, if cmbCompanyName was updated, then all other drop down boxes need to have "select [field] From qry Where [company name] = cmbcompany name".
If cmbcompanyname and cmbregionname is updated, all other boxes need to have "select [field] From qry Where [company name] = cmbcompany name and [region name]=cmbregionname".
and so on and so on.
There's 6 fields that need to have filters on, which i quickly calculated at about "A shitload" of 'if-then-else' statements.
Is there an easier way?
Last edited: