Jump to content
We've recently updated our Privacy Statement, available here ×

diogoveloso.82

Members
  • Posts

    10
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by diogoveloso.82

  1. csshahie wrote: Thanks Guys but I am about to give up I have added the line to the expression editor of the field which is of type double. How do I change the field type to hold text Actually you can´t... so don´t try to do this .... but if you want to display Yes/No put your textfield type as String and use that expression said before and it will work as you want...do not give up...it is not that difficult.... :P and as martynhiemstra said.. ireport is very usefull and easy to use... it a powerfull tool to design all kind of reports... and every new release it goes much better... so give it another chance and go deeper on it...we are all here to try help other people.. see you...
  2. try not to put two topics with the same question... see the first one.. ($F{DEPOSIT_TYPE}=1 ? $F{cashType}=$F{AMT} : ($F{DEPOSIT_TYPE}=2 ? $F{checkType}=$F{AMT}$F{DEPOSIT_TYPE}=3 ? $F{creditCardType}=$F{AMT}:"55")) )
  3. Hi again ... martynhiemstra i´m kind following you.. kkkkkkk ....... maybe mohammad_awadat you want the expression for ireport..i think..if it is next time be more especific...and try this one.. (F${DEPOSIT_TYPE} == 1) ? CASHTYPE = AMT : (F${DEPOSIT_TYPE} == 2) ? CHECKTYPE = AMT : CREADITCARDTYPE = AMT but be more especific what kind of field you have..in what king of text you wanna show your value... and what you really want to do....this way all can help you better...as i know you cant a sign to you field values...
  4. martynhiemstra almost there ... like this should work (($F{fieldname} == 0) ? "No" : "Yes") two iquals... Hope it helps...
  5. Actually i tried to run my report from inside ireport whithin some pdf export configurations... and it really works.... using the same report and same configuration, from outside(API), it didt´t work.... so those configuration only works for reports generated from ireport . If you want to put this kind of configuration you should use it before printing you report from your API..... thnks for your help martynhiemstra :P ... :woohoo: And i hope it will help some guys having this doubt...
  6. Thks martynhiemstra, That´s makes sence.... due to when i put password (both owner and user) it seemed it doesn´t work... but maybe that´s why... those settings may work only for reports generate whitin ireport.. thanks a lot.. only to be sure is there someone on the project that can confirm that?? Thanks
  7. Hi fellows... I've searched a lot about this...but did't find a good answer...even an answer... most of the topics don´t hava replies... So... i'll try again... I want to put some permissions on my pdf file (that i see on brwowser) .. If i do it on my code before i generate the pdf it works fine... but when i try to use iReport option (Export Options - PDF - Permissions) it simply doesn´t work... so i opened my .jrxml to find this "line" but also couldn´t find it. How can i make this part works (Export Options - PDF - Permissions) on iReport? Is something that i'm doing wrong or some bug? Some feature that is not applicable yet?? And one last question.. when i set the permission to, for example, 1000000 (thats iText) where does ireport put this on .jrxml?? Any help would be usefull, Thxs to all
  8. Well, since i didn't find out a way to do my report the way i wanted, yesterdey i modified my java class an create a a new class only for my report as show: class Relatorio { protected int codOrcObra = 0; protected int anoRefObra = 0; protected int codVrsOrcObra = 0; protected int codGrpObra = 0; protected String descGrpObra = null; protected int codGrpOrc = 0; protected String descGrpOrc = null; protected int codTpSistema = 0; protected String descTpSistema = null; protected int codGrpUC = 0; protected String descGrpUC = null; protected int codUC = 0; protected String descUC = null; protected int codSqCpUC = 0; protected String descSqCpUC = null; protected int codServico = 0; protected String descServico = null; protected int codItem = 0; protected String unItem = null; protected String descItem = null; protected int numeroMed = 0; protected double qtdGld; protected double vlrMed; protected double vlrGld; protected double qtdMed; protected double percReaj; protected double vlrOrc; protected double qtdOrc; protected double vlrAcu; protected double qtdAcu; protected int seqOrc; } And create all the fields in the report. But something weird happened. When i try to run the report i got the error : "Error retrieving field value from bean : codServico" . I try to change the name of the field in report and in the class but it still didn´t work. Ãm stuck dont understand why this is happening...if someone could help...im sending my original jrxml...any tips..???!!:woohoo: [file name=RelCriticaMedicao2.jrxml size=77541]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/RelCriticaMedicao2.jrxml[/file]
  9. Hello, first of all sorry for my poor english, im from brazil, and second lets see if someone can help me. After a week searching on the forum for a solution to my problem (and i didn´t find or not understand something i read) i decide to create a topic. So the problem. I am sending to my report an arraylist wich contains some fields and some nested objects.. but not a list only nested object with some data that i need.. For example: Object 1: Main Data Code Description Item(object 2) Object 2: Secundary Data (only one, not a list) ItemCode Description So to the report i send an arraylist of (Object 1) that which one contains an Object 2 "inside", and i want to show yhe ItemCode and Description on a group of my report ( acttually i have 6 nested objects, but to make things eaiser to understand i use only one, all the five others follow the same. Just to explain better in the main object i only have the codes and for each code e created a nsted object to get code and description. So at the end i have one big objects if six nested objects.) I´ve tried a lot to access the fields of object 2 but it simple sends me a message that the fiels couldn't be found on the bean. And i´ve read a lot and tried to implement a series of solutions describe in the forum but still i could not find any solution. If someone can help, please i would appreciate. Thanks..
  10. Hello, first of all sorry for my poor english, im from brazil, and second lets see if someone can help me. After a week searching on the forum for a solution to my problem (and i didn´t find or not understand something i read) i decide to create a topic. So the problem. I am sending to my report an arraylist wich contains some fields and some nested objects.. but not a list only nested object with some data that i need.. For example: Object 1: Main Data Code Description Item(object 2) Object 2: Secundary Data ItemCode Description So to the report i send an arraylist of (Object 1) that which one contains an Object 2 "inside", and i want to show yhe ItemCode and Description on a group of my report ( acttually i have 6 nested objects, but to make things eaiser to understand i use only one, all the five others follow the same. Just to explain better in the main object i only have the codes and for each code e created a nsted object to get code and description. So at the end i have one big objects if six nested objects.) I´ve tried a lot to access the fields of object 2 but it simple sends me a message that the fiels couldn't be found on the bean. And i´ve read a lot and tried to implement a series of solutions describe in the forum but still i could not find any solution. If someone can help, please i would appreciate. Thanks.. :cheer:
×
×
  • Create New...