Ireport e seus Subrelatórios  XML
Índice dos Fóruns » Ferramentas, Frameworks e Utilitários
Autor Mensagem
marthian_2
JavaBaby
[Avatar]

Membro desde: 24/09/2007 12:44:38
Mensagens: 92
Offline

Pessoal... ja testei diversos tutoriais da net e nenhum deu certo pro meu caso....

Os subrelatórios sempre aparecem com valores nulos....

Alguem sabe algum material mais detalhado sobre o assunto...


Minha aplicação é desktop...

Os relatorios rodam blz separados mas juntos dão pau....
[MSN]
Metaleiro
Virtual Machine Man
[Avatar]

Membro desde: 06/07/2006 10:55:54
Mensagens: 669
Localização: São Bernardo do Campo - SP
Offline

Não sei se ajuda, mas aqui faço o seguinte:

JasperSub - Espera um Object, o qual faço as devidas configurações quando inicializo um sub no relatório principal, next, next, Data Source Expression = $F{object}

JasperSub - Coloco os devidos nomes dos Fields

RelPrincipal - coloco e declaro o field $F{object}, pois no Sub eu só coloco o nome dos campos

Depois envio um "beam" via código para o valor $F{object}

Dá uma olhada no link abaixo, tem alguns links que te ajudariam :


[RESOLVIDO] É possível criar Grid ou Table no IReport ?

This message was edited 1 time. Last update was at 12/08/2009 19:52:02


"Why, Mr. Anderson? Why do you do it? Why get up? Why keep fighting? Do you believe you're fighting for something? For more than your survival? Can you tell me what it is? Do you even know? Is it freedom? Or truth? Perhaps peace? Yes? No? Could it be for love? Illusions, Mr. Anderson. Vagaries of perception. The temporary constructs of a feeble human intellect trying desperately to justify an existence that is without meaning or purpose. And all of them as artificial as the Matrix itself, although only a human mind could invent something as insipid as love. You must be able to see it, Mr. Anderson. You must know it by now. You can?t win. It?s pointless to keep fighting. Why, Mr. Anderson? Why? Why do you persist?"

Neo :
-Because is my choice

 
Índice dos Fóruns » Ferramentas, Frameworks e Utilitários
Ir para:   
Powered by JForum 2.1.8 © JForum Team