G
Guest
I'm sure this is an easy query but I am not familiar with Access.
I am doing a query from a single table and would like to first find all the
dates when a particular SampleID matches the input criteria. Then I would
like to pull all records for any date on which that SampleID occurs.
Example of database:
SampleID RecordDate
2099 1-1-06
2100 1-1-06
2100 1-2-06
2101 1-2-06
2099 1-3-06
2200 1-3-06
2200 1-4-06
So if the user searches for SampleID 2099 the query will return:
SampleID RecordDate
2099 1-1-06
2100 1-1-06
2099 1-3-06
2200 1-3-06
Thanks for any help.
I am doing a query from a single table and would like to first find all the
dates when a particular SampleID matches the input criteria. Then I would
like to pull all records for any date on which that SampleID occurs.
Example of database:
SampleID RecordDate
2099 1-1-06
2100 1-1-06
2100 1-2-06
2101 1-2-06
2099 1-3-06
2200 1-3-06
2200 1-4-06
So if the user searches for SampleID 2099 the query will return:
SampleID RecordDate
2099 1-1-06
2100 1-1-06
2099 1-3-06
2200 1-3-06
Thanks for any help.