By "other database", what kind of database are you talking about? If you are referrring to another "table" then you just do SETFILTER or SETRANGE and depending on what your needs are you can do a FIND('-') or FIND('+') to select respectively either the first or last record from the result.
Comments