sarebbe meglio se tu potessi postare tutto il codice relativo.. dalla query alla stampa.