T
The Raven
OK,
Be gentle this is my first post here and I don't proclaim to be an
Access expert or anything.
Believe it or not I'm trying to help a less Access savvy user who's about a
1000miles from me....
Here's the deal:
Single form with 3 combo boxes.
First combo box picks a value from a table.
Second combo box is supposed to use the value from the first combo as the
table name to be used as the recordsource.
Third combo box does the same.
For example: If 'Bob' is selected for combo1 then combo2 will use table
'Bob' as the recordsource. Combo3 will then use whatever is selected in
combo2 as the recordsource table.
Note that each table is a very simple one or two field table. The guy I'm
helping wants to keep things simple so, building a full blown matrix table
isn't feasible.
I know I could do this myself, given some time........which I don't have. I
can see several ways of doing it, mostly involving some coding. However, the
user I'm helping doesn't code and would struggle with putting together a
simple SELECT statement. Trying to communicate this verbally over the phone
is near impossible....
I tried a very amatuerish technique of having the second combo have a
recordsource SQL statement.
Eg. SELECT * FROM [Forms]![Formname]![Combo1];
Obviously this didn't work as the expression after FROM could not be
processed. Too bad that it doesn't work, it would be an excellent (if crude)
solution.
Any simple way to do this?
Any URLs where I could find such a sample database to explain it all to him?
Regards and thanks in advance.
Be gentle this is my first post here and I don't proclaim to be an
Access expert or anything.
Believe it or not I'm trying to help a less Access savvy user who's about a
1000miles from me....
Here's the deal:
Single form with 3 combo boxes.
First combo box picks a value from a table.
Second combo box is supposed to use the value from the first combo as the
table name to be used as the recordsource.
Third combo box does the same.
For example: If 'Bob' is selected for combo1 then combo2 will use table
'Bob' as the recordsource. Combo3 will then use whatever is selected in
combo2 as the recordsource table.
Note that each table is a very simple one or two field table. The guy I'm
helping wants to keep things simple so, building a full blown matrix table
isn't feasible.
I know I could do this myself, given some time........which I don't have. I
can see several ways of doing it, mostly involving some coding. However, the
user I'm helping doesn't code and would struggle with putting together a
simple SELECT statement. Trying to communicate this verbally over the phone
is near impossible....
I tried a very amatuerish technique of having the second combo have a
recordsource SQL statement.
Eg. SELECT * FROM [Forms]![Formname]![Combo1];
Obviously this didn't work as the expression after FROM could not be
processed. Too bad that it doesn't work, it would be an excellent (if crude)
solution.
Any simple way to do this?
Any URLs where I could find such a sample database to explain it all to him?
Regards and thanks in advance.