new sdr-function for getting latest record data if searching by ID string. a bit hacky, but works.