def getRecord(rid, dbid = @dbid, fieldNames = nil)
      rec = nil
      fieldNames ||= getFieldNames(dbid)
      iterateRecords(dbid, fieldNames,"{'3'.EX.'#{rid}'}"){|r| rec = r }
      if block_given?
        yield rec
      else
        rec  
      end        
    end
def getRecord(rid, dbid = @dbid, fieldNames = nil)
      rec = nil
      fieldNames ||= getFieldNames(dbid)
      iterateRecords(dbid, fieldNames,"{'3'.EX.'#{rid}'}"){|r| rec = r }
      if block_given?
        yield rec
      else
        rec  
      end        
    end
Get a record as a Hash, using the record id and dbid .
 e.g. getRecord("24105","8emtadvk"){|myRecord| p myRecord}