B
biganthony via AccessMonster.com
Hi,
In working out another problem with opening a form from a continuous form
(reported in another thread), I thought of the following case and would like
to know if the following scenario is possible:
Let's say you have a continuous form with three fields: Employee, Jobs, Dept.
This form is not a data-entry one, it would just display the overall data.
The "Dept" field on this continuous form could have the following values:
Marketing, Advertising, Buying, Selling. (Each of which coresponds to a form
with these names).
So sample data could look like this:
ID, Jobs, Dept
BRS, 12A, Advertising
HYT, 7Y, Advertising
JUH, GG, Selling
ASD, yy, Buying
So if I double-clicked the value "yy" above, it would open the "Buying" form
and set the focus to the "yy" field in that form.
If I double-clicked the value "12A" above, it would open the "Advertising"
form and set the focus to the "12A" field in that form.
I would like to know if this scenario would work and how it could be
implemented in VBA.
Thanks
Anthony
In working out another problem with opening a form from a continuous form
(reported in another thread), I thought of the following case and would like
to know if the following scenario is possible:
Let's say you have a continuous form with three fields: Employee, Jobs, Dept.
This form is not a data-entry one, it would just display the overall data.
The "Dept" field on this continuous form could have the following values:
Marketing, Advertising, Buying, Selling. (Each of which coresponds to a form
with these names).
So sample data could look like this:
ID, Jobs, Dept
BRS, 12A, Advertising
HYT, 7Y, Advertising
JUH, GG, Selling
ASD, yy, Buying
So if I double-clicked the value "yy" above, it would open the "Buying" form
and set the focus to the "yy" field in that form.
If I double-clicked the value "12A" above, it would open the "Advertising"
form and set the focus to the "12A" field in that form.
I would like to know if this scenario would work and how it could be
implemented in VBA.
Thanks
Anthony