× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 17 May 2012 22:30, Pete Helgren wrote:
Right...but if the select was:

select id where emp = '1111'

And emp '1111' had 100 records in it, then the record set would have
100 records, so the question (rephrased) is:

Given the above record set (100 records of emp '1111') how do I:

1) Locate the ONE record where the date is '5-17-2012'?
2) Move the cursor from that position to the record just prior?


Is a valid assumption that there will be only one row [or zero rows] matching the specified date; i.e. there can not be multiple rows for the same date for any one value of EMP? That would make selection easier; i.e. no requirement to combine the Date and Time columns into a TimeStamp column.

Is the goal perhaps to find the one "record just prior"; i.e. perhaps there really is no need to get a set with both rows, thus no reason to scroll.

Regards, Chuck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.