F
Fred
Please help this newbee.
Consider two tables in Access 2000:
Table 1 consists of the fields: Name (primary key), phone number, address
Table 2 consists of the fields: Number (primary key), Date, Description
The field "Description" in table 2 is text containing discriptions of
contacts with people named "Name". A few example records could be:
Table 1
Name Phone Number Address
John 555-5555 123 Ley St.
Fred 556-5555 535 Yel St.
Table 2
Number Date Description
151 3/1/91 Met with John at mall.
152 5/1/91 John and Jill went to dinner.
153 5/12/91 Fred found a penny.
154 6/1/91 Johnny is a good friend.
155 7/1/92 Fred and John work together.
I can easily run a parameter query on Table 2 which returns entries
containing an inputed name. For example, Like "*" & [Input Name] & "*"
where John is entered will return the desired entries with number 151, 152,
154, and 155.
What I cannot figure out how to do is create a query where the user inputs a
name such as "John" with the query returning the single appropriate entry in
Table 1 and all entries in Table 2 where "John" is contained in the
Description field.
If anyone has any suggestions, please let me know.
Thanks
Consider two tables in Access 2000:
Table 1 consists of the fields: Name (primary key), phone number, address
Table 2 consists of the fields: Number (primary key), Date, Description
The field "Description" in table 2 is text containing discriptions of
contacts with people named "Name". A few example records could be:
Table 1
Name Phone Number Address
John 555-5555 123 Ley St.
Fred 556-5555 535 Yel St.
Table 2
Number Date Description
151 3/1/91 Met with John at mall.
152 5/1/91 John and Jill went to dinner.
153 5/12/91 Fred found a penny.
154 6/1/91 Johnny is a good friend.
155 7/1/92 Fred and John work together.
I can easily run a parameter query on Table 2 which returns entries
containing an inputed name. For example, Like "*" & [Input Name] & "*"
where John is entered will return the desired entries with number 151, 152,
154, and 155.
What I cannot figure out how to do is create a query where the user inputs a
name such as "John" with the query returning the single appropriate entry in
Table 1 and all entries in Table 2 where "John" is contained in the
Description field.
If anyone has any suggestions, please let me know.
Thanks