I'm hoping someone can help me.
I have a qry with two tables: tblParent (100 records, 5 fields) and tblChild (300 records, 8 fields). I am trying to produce a query that generates a list of the 100 parent records with a 6th parent field that represents the child region value having the highest score.
in other words,
1 Parent record has three child records with score and region values:
North, 60
South, 24
East, 92
I want to have "East" as the result for this record when I run the qry. I can creat and link separate qrueries to do it, but I'm preferring to have it all self contained in one qry.
Is there a way to do this with an expression using a select statement?
Thank you
I have a qry with two tables: tblParent (100 records, 5 fields) and tblChild (300 records, 8 fields). I am trying to produce a query that generates a list of the 100 parent records with a 6th parent field that represents the child region value having the highest score.
in other words,
1 Parent record has three child records with score and region values:
North, 60
South, 24
East, 92
I want to have "East" as the result for this record when I run the qry. I can creat and link separate qrueries to do it, but I'm preferring to have it all self contained in one qry.
Is there a way to do this with an expression using a select statement?
Thank you