N
Nat Vascular
Hello and thanks so much for your help!
I have a simple table of Physicians that have the fields, Location and Group
(which is the Physician Group he/she belongs to). Both the Location field
and the Group field are populated from the Location Table and the Group
Table. The Group Table also has a Location field as well. Group A might be
in Location 1. In sheet view, when I add a Physician and enter his/her
Location, I want the Group field to be based on a Query of the Group table
returning all the Groups where there Location is also 1. I tried writing the
Query using the criteria box. I put in the criteria box [Tables]![Physician
Table]![Location] thinking the current Location field in the datasheet would
pass in as the parameter for the query, much like I have done in the past
with Form controls but it doesn't seem to work. Is this possible to do this
with sheet views of tables? Am I doing something wrong?
Thanks again for your help!
Mike
I have a simple table of Physicians that have the fields, Location and Group
(which is the Physician Group he/she belongs to). Both the Location field
and the Group field are populated from the Location Table and the Group
Table. The Group Table also has a Location field as well. Group A might be
in Location 1. In sheet view, when I add a Physician and enter his/her
Location, I want the Group field to be based on a Query of the Group table
returning all the Groups where there Location is also 1. I tried writing the
Query using the criteria box. I put in the criteria box [Tables]![Physician
Table]![Location] thinking the current Location field in the datasheet would
pass in as the parameter for the query, much like I have done in the past
with Form controls but it doesn't seem to work. Is this possible to do this
with sheet views of tables? Am I doing something wrong?
Thanks again for your help!
Mike