Frits
Here's an idea for another approach.
If some of your offices have only one person, and other offices have more
than one person, you could STILL use a combobox for the persons.
It's just that for the office that has only one, there would be only one
"choice" in that second combobox.
Good luck!
--
Regards
Jeff Boyce
Microsoft Access MVP
Disclaimer: This author may have received products and services mentioned in
this post. Mention and/or description of a product or service herein does
not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
Frits.van Leeuwen said:
Thanks John for asking.
I try it again. (sorry for my English)
It's in my mind, a Combo Box is a list of data where you can select one.
And you can type to help select one.
So I have this on a from. And also on the same form I have some Fields.
When I select one in my Combo Box, it gives some data in some fields.
(That's with VBA)
I like to have this, but more. When I select for example the first line in
the Combo Box, then it will set only some data in fields.
And when I select (in the same example) line two, then it will set some
data and change one field into a Combo Box. Then I can make a chooice
again.
For example: I select a office, but ther work more people, so I need to
select one of them. In a other office there is one one person. So there I
don't need to choose.