G
Guest
Hi ther
I would like to design a query where one field is a parameter. However, instead of comparing the field value to a control on a form or to a user prompt, I would like the field value to be compared to another field value in ALL the records of the query
Example
Say the query has two fields, [Name]; and [Don't Include If This Name Is Present
Example results might be
[Name]: [Don't Include If This Name Is Present]
1 John Andre
2 Sid Adria
3 Barry Joh
I would like to put a parameter in the [Don't Include If This Name Is Present] field to prevent the 3rd record being returned, because its value (John) matches the [Name] field in another (the first) record
If you can offer any advice on this, I would be most grateful
Thank yo
David
I would like to design a query where one field is a parameter. However, instead of comparing the field value to a control on a form or to a user prompt, I would like the field value to be compared to another field value in ALL the records of the query
Example
Say the query has two fields, [Name]; and [Don't Include If This Name Is Present
Example results might be
[Name]: [Don't Include If This Name Is Present]
1 John Andre
2 Sid Adria
3 Barry Joh
I would like to put a parameter in the [Don't Include If This Name Is Present] field to prevent the 3rd record being returned, because its value (John) matches the [Name] field in another (the first) record
If you can offer any advice on this, I would be most grateful
Thank yo
David