(dsDatabase, dsRecordId)
Returns the previous parsed record for recordid
Returns the previous parsed record for recordid
Returns the previous parsed record for recordid
def dsGetPreviousRecord(dsDatabase, dsRecordId):
    '''
    Returns the previous parsed record for recordid
    '''
    lineid = -1
    try:
        lineid = int(dsMapLineIdByRecordId[int(dsRecordId)])
        return dsGetRecordByLineId(dsDatabase, lineid - 1)
    except:
        return None
def dsGetPreviousRecord ( dsDatabase , dsRecordId ) : lineid = - 1 try : lineid = int ( dsMapLineIdByRecordId [ int ( dsRecordId ) ] ) return dsGetRecordByLineId ( dsDatabase , lineid - 1 ) except : return None