a query command that will not only return the particular record I'm searching for, but also xx number of records before and after the record found.
For example, lets say I have a Parts table with a field called Part_No. The table is populated with 10,000 records where the Part_No is sequential, from 1 to 10,000.
Now, I search for say Part_No 800 (which happens to be record 800.) What I'm looking to do is return record 800 and records 600-799 (200 records above where record 800 was found) and 801-1000 (200 records below where record 800 was found.)
Is this possible?
Regards
For example, lets say I have a Parts table with a field called Part_No. The table is populated with 10,000 records where the Part_No is sequential, from 1 to 10,000.
Now, I search for say Part_No 800 (which happens to be record 800.) What I'm looking to do is return record 800 and records 600-799 (200 records above where record 800 was found) and 801-1000 (200 records below where record 800 was found.)
Is this possible?
Regards