use PAPO; my $uniqed=0; import gnue.common.GConditions as GConditions #condiciones para labusqueda de fecha condMovement = GConditions.GCondition() tmpAnd = GConditions.GCand(condMovement) ge = GConditions.GCge(tmpAnd) GConditions.GCField(ge,"proceeding.date") GConditions.GCConst(ge,str(printBlock.printBox.startDateEntry)) le = GConditions.GCle(tmpAnd) GConditions.GCField(le,"proceeding.date") GConditions.GCConst(le,str(printBlock.printBox.endDateEntry)) movementResultSet = cobrosDataSource.createResultSet(condMovement) moreMovement = movementResultSet.firstRecord() print "comienzo el recorrido" while moreMovement: print "proceeding:", movementResultSet.current.getField("proceeding.id"),\ "movement:", movementResultSet.current.getField("movement.id"),\ "doc typ:", movementResultSet.current.getField("own_document.own_document_type"),\ "tipo :", movementResultSet.current.getField("currency_movement.currency_type"),\ "$ :", movementResultSet.current.getField("movement.amount") moreMovement = movementResultSet.nextRecord() #"$ :", movementResultSet.current.getField("movement.amount"),\ # "tipo :", movementResultSet.current.getField("currency_movement.currency_type"),\ # "movement :", movementResultSet.current.getField("movement.id"),\