I have two tables. The primary key in the first table is 'PrjName' and it has a one-to-many relationship with the corrsponding field name in the second table. Everything works fine except when I want to run a query.
I have a button on the form for the second table to run a quesry.
I need the query to only display the results that have the same 'PrjName' as the 'PrjName' in the current record.
Right now, when I run the query it displays all the records, no matter what the 'PrjName' is.
I know I can hard code the criteria, but I want to beable to run this quesry from any record.
Please help.
I have a button on the form for the second table to run a quesry.
I need the query to only display the results that have the same 'PrjName' as the 'PrjName' in the current record.
Right now, when I run the query it displays all the records, no matter what the 'PrjName' is.
I know I can hard code the criteria, but I want to beable to run this quesry from any record.
Please help.