"Style C" is what I would love to implement in my sample db but with comboboxes.
As I said, it is doable, but will take knowledge of VBA to convert to combo boxes - and having 5 combo boxes........
The code in my sample db is fine and it does its work perfectly
IMO, there are issues with the code.
- I have had problems using
Code:
If IsNull(Me.cboCustomerType) Then
because there could be a space in the control. I now use code like
Code:
If Len(Trim(Me.cboCustomerType & "")) > 0 Then
to convert a NULL to an empty string.
- Another issue are the look up FIELDS in the table. See http://access.mvps.org/access/lookupfields.htm
I understand WHY the look up fields are there, but it is considered a bad practice.
It's easy for me to avoid look up FIELDS because I never use datasheet view.
(and if you have time http://access.mvps.org/access/tencommandments.htm)
- BTW, "State" is a reserved word in Access and shouldn't be used as an object name.
- I would not be changing the record source, I would set the filter property instead. Build just the criteria and set the filter........
See the dB....
<rant>
The last thing is that we don't know each other. We don't know how experienced you are, so questions are asked. Or your problem is not described well enough to know how to answer and more questions need to be asked.

Originally Posted by
Susy
to June7 :Why do you even bother to answer... it is not as easy as "cascading comboboxes". If you cannot do anything with the sample I provided, then what can you do, besides writing non constructive comments.
<snip>.......
To me, this is a very rude response to someone trying to help you. I responded in a previous post that you were looking for cascading combo boxes...I didn't know if you used them or had even heard of them. Apparently you have used them.
The point being, I thought long and hard weather or not I was going to try and help you.
I spent around 15 minutes searching for the dB (I forgot where I see it). Luckily, I found it.
I do have a list of people I will not respond to because of their attitude. I try to make allowances because we type and cannot talk, but still, when asking for help, it pays to be nice.
<end rant>
Anyway, I'm happy that the dB from MVP A.D.Tejpal was what you were looking for.
Good luck with your project..........