Mikecrosoft
11-19-2003, 10:11 AM
Hi,
I need to make a Query where I have one Table, the problem its this one:
Each record have a lot of fields, one fields its the record that identifies the student, each studen could have brothers, these other students are in the same table, the the table have 2 fields that identifies the family members, intFamilyNumber and intFamiliyPosition.
my problem its this one:
I need to make a query where my WHERE criteria applies to the records where the intFamilyPosition = 1, but also I need all records where of the same family (intFamilyNumber), the problem is, if the Big Brother not match with the WHERE criteria, then don't add his brothers either.
Thanks
I need to make a Query where I have one Table, the problem its this one:
Each record have a lot of fields, one fields its the record that identifies the student, each studen could have brothers, these other students are in the same table, the the table have 2 fields that identifies the family members, intFamilyNumber and intFamiliyPosition.
my problem its this one:
I need to make a query where my WHERE criteria applies to the records where the intFamilyPosition = 1, but also I need all records where of the same family (intFamilyNumber), the problem is, if the Big Brother not match with the WHERE criteria, then don't add his brothers either.
Thanks