L
Lee
I have a large (over 200K records) table, and I need to
select records based on a range of dates. For each unique
ID in the table, I need to compare the range of dates in
the Service Date field, and select the records with the
first and last dates in that range. Each unique ID number
will have at a minimum two records in the table; many will
have as many as 100. I then want to make these selected
records into a new table.
I hope I explained this clearly. If I can't figure out a
way to program this I'm going to have to manually select
all these records, so any help would be appreciated.
select records based on a range of dates. For each unique
ID in the table, I need to compare the range of dates in
the Service Date field, and select the records with the
first and last dates in that range. Each unique ID number
will have at a minimum two records in the table; many will
have as many as 100. I then want to make these selected
records into a new table.
I hope I explained this clearly. If I can't figure out a
way to program this I'm going to have to manually select
all these records, so any help would be appreciated.