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

Ranit

Members
  • Posts

    33
  • 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

Posts posted by Ranit

  1. Hi community,

     

    I've downloaded iReport Source from <>.And I want to find the code which I can interact with DropDownList that located in Properties Window.

     

    For example, when I type FontSize=0 then the FontName's DropDownList will be disabled.

    I attached an image to show this state below.

     

    Do you know which Java files in iReport Source which I can do like example above?Thanks.

  2. Hi C-Box,

    I asked the question above is just wanna get some concepts for solving my actual problem.

     

    But let me express my actual problem now:

     

    Firstly, I have several TextFields in my report.I want to make padding between characters in TextField.If there are more characters in the TextField,there are no more space between those characters.Otherwise,if there are only two,three,... characters in TextField,the space between those characters is increased.I attached an image,plz see it.

     

    I wrote Java code for solving this problem.It works fine.But I don't know how to integrate it with iReport.

     

    Can you help me to solve this problem?Thanks in advance.

  3. Hi community,

    I want to create Java Method which will be used in iReport Designer.

    In iReport Expression Editor, I wrote this : $F{TextField}.myTest().

    In this case,"myTest()" is a method that I've created in Java and when call this method,

    the width of $F{TextField} will be increased 100px.

     

    I also attached a Java File below...What should I do? I appreciate your help.

  4. Hi C-Box,

    The problem is that I want to add a custom method that is written in Java and embedded it into iReport Designer.For instance,Java method's name, called "mySampleMethod()". And then, when I type $F{PRENOM}. + CTR+ Space, it will pop up the method as shown in the image I attached.

     

    I wrote Java code as below:

     

    public class myJavaClass{

    public static String mySampleMethod(){

    //any code here

    }

    }

     

    What should I do?

  5. Hi sujitpgouda ,

    I uploaded the image above.

     

    When I pressed Read Fields button,it said that:

     

    Error: General problem: Error preparing statement for executing the report query: SELECT csv_data_csv.`ID`,csv_data_csv.`NAME`,csv_data_csv.`SEX` FROM `csv_data`.`csv` csv_data_csv Check username and password; is the DBMS active?

     

    What's the problem?Thanks.

  6. Hi community,

     

    I had a problem when trying to encrypt pdf file with iReport Designer.

    After exporting my report to PDF file,I opened exported pdf-file but it didn't require a password at all.

    I've attached an image below.

     

    What's the problem?Can anyone help me please?

     

     

    Regards,

    Ranit.

  7. Hi community,

    My reports uses JDBC connection that connect to ODBC data source and I've created ODBC DSN which connect to CSV file.

    The JDBC connection is successfully connected...And I use SQL statement in iReport Designer for reading fields from CSV file, but I got an error.

    Can you help me to fix this error? I appreciate your help.

     

  8. Hello everyone,

    I'm new to Jasper Report Server, and I got some troubles with Jasper Report.

    Can you help me with the following tasks?

    1. Create the BAT file (example.bat)  that is capable to execute report in Repository

    2. Connect to Server using Command Prompt in Window.

    3. Use Command Prompt in Window to execute " example.bat"

    Can you give me an example about that?

    thanks...

    I would appreciate your help!

×
×
  • Create New...