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

Tiaguinho

Members
  • Posts

    13
  • Joined

  • Last visited

Tiaguinho's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Thanks for the answer, Interesting. Answer here if you find other factor which is causing this problem. Will be useful for future readers.
  2. This problem occurs when a TextFiled or other component is too large for your container. Look your "with" and "height" from your components on the band where occured the problem. And look the propertie "Split Type" from the same band. The option "prevent" may be can cause the same problem.
  3. I use a image saved in database, return this with a SQL, position a component image in the band HeaderPage and in the Field set the propertie "class" to "java.io.InputStream". For me it's work.
  4. I don't know if I understood the doubt, but, I think you can resolve your problem using a group per Personal Type. See this link: Jasper Groups
  5. Good Morning freinds, I have a problem with a crosstab inside my report. When I use pdf, that's ok but, when this report is exported to DOCX the crosstab is printed witthout some values and labels. I change spaces, component width's, cell width, I altered the configuration of the server to: configuracao.setFlexibleRowHeight(true); configuracao.setNewLineAsParagraph(true); configuracao.setFramesAsNestedTables(true); But i have the same result. I need help, how solve this problem?
  6. If you use "true", we must test the variable like a string. And not as boolean. Maybe it is that.
  7. solved with new Date().parse("yyyy-MM-dd",$F{my_date}.toString()).format("yyyy-MM-dd") >>>> if your date variable is a string. >= new Date().parse("yyyy-MM-dd",$P{report_date}).format("yyyy-MM-dd") >>>>> here the function .toString() is not necessary when you date is a Date Type variable ;)
  8. Try this: In the "Initial Value Expression" use $F{AS1_STAMM.ANREDE_ID}==0 && $F{KLK.VRR}!=0 && $F{AS2_STAMM.NAME}==null ? true : false When use expression, she test the expression, but not have return value, she is a simple test. If you want a return, must place the returns in the expression. Then use your $V{variable}
  9. You try new Date($F{my_date_field}) < new Date("2015-11-01") ? "minor" : "major" ??
  10. Yes. I resolve this problem in the sql. The SQL retrieve all data and after calculate value. thanks for the answer. :)
  11. Hello, I own a report with grouping by date, and with a summation by date. I need the sum of the previous date for the calculation of the next date. But have not found a way to busar the previous value, I tried to create a new variable, but the same always updated with the current value date of the group. Could anyone help me?
  12. My situation is: I have the report with a group and my doubt is: How I can construct a counter variable ignoring the group, for example: In my report: ---------- band group header ------------------- 1 - data 01 2 - data 02 3 - data 03 ------------- band detail ---------------------- 6 - data 06 7 - data 7 8 - data 8 This occurred because the data 4 and 5 is occulted by the grouping. And I need a continuous counter...1,2,3,4,5,6,7,8, etc. I use this for change the background-styles in the text elements. Help me, please.
  13. Hi, I'm be construct a report and this report have a parameter which must switch the query. For example: $P!{tipo_relatorio}.equals("orcamento") ? "query_1" : "query_2" But a have no idea as resolve this problem. My report is a list of two distinct situation, so I need this. Is this possible? Thanks for anywhere help.
×
×
  • Create New...