This likely is easy - but not for this newbie... Need a make table query (Access 2013) as follows:
I have a table named tbl_Samples.
tbl_Samples has relevant record fields SampleID and TimeCollected (this field contains only time-not date-and these two times would be during a 24-hour period [i.e., same calendar date])
I want to select a record where SampleID contains "-8" somewhere in the string. I do this using Criteria: Like("*-8*"). Got that bit right...
I then want to use the value of time collected associated with this sample ID record to identify a second sample ID record with a collection time exactly either 15 minutes earlier or 15 minutes later.
Thanks for any advice!
I have a table named tbl_Samples.
tbl_Samples has relevant record fields SampleID and TimeCollected (this field contains only time-not date-and these two times would be during a 24-hour period [i.e., same calendar date])
I want to select a record where SampleID contains "-8" somewhere in the string. I do this using Criteria: Like("*-8*"). Got that bit right...
I then want to use the value of time collected associated with this sample ID record to identify a second sample ID record with a collection time exactly either 15 minutes earlier or 15 minutes later.
Thanks for any advice!