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

sagarnikam123

Members
  • Posts

    39
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by sagarnikam123

  1. I am using sample dataset to put  problem simply to understand,please dont suggest me to optimize/change mysql  logic/queries.

    I have output of main query in .jrxml file(main table)

    thousand_questions_frist_table-send.png.e088ac5355a7f48c1ea3d0557d052850.png

    i am taking "book_id" as user input.

    want to made  subdataset_1 by using "book_id" input & some fields from main table as

    1)subdataset_1

    select  AuthMn,AuthFN  from main_table where BookID=$P{book_id}--->subdataset_1

    2)subdataset_2

    select AuthMN from subdataset_1

    3)printing subdatset_2 without using any widget from pallete of ireport (e.g. table,crosstab,charts..etc)

     

    Can anyone guide my how to access main table's fields & parameters  in subdataset_1 ? &

    accessing fields from  subdataset_1 to another dataset ?

  2. i am using mysql database,ireport 4.7

    i created  main dataset (e.g. A) in a report,i want to use some fields from maindatset A to create subdatset B.

    then wants to create subdataset C ( by taking some fields from parameters ,some from A & some from subdataset B)

    and at last wants to prints table C

    i tried to combine all my queries into single querie,but it ends on complex queries & all frustations

     

    how sould i proceed ? is there any tutorial/how to for this ?

  3. I am taking input using "Input Control",using that i want to generate/create many table in mysql database....& ultimately final table(which can be directly used to show output)

    but when i am puting text "create table",inside query designer ,it show error about "can not issue data manipulation statement with execute query()"

    so i go by differnt way......as...giving two queries in one table.

    but when i am giving more than one query(by editing .jrxml file as below ),it again gives error

    edited source code---->

    select distinct PEMID,PEMName from PEMs
     
    select DoctorID from PodDoctorMap where PodID in ($P{PEM_ID}) and StartDate >= $P{StartDate} and EndDate <= $P{EndDate}
     
  4. I put name of jsp file as "index.jsp" in side jasperserver as AddResources-->JasperReport-->Customiztion-->JSP location..                 JSP file is inside "/jasperreports-server-cp-4.7.0/apache-tomcat/webapps/jasperserver/WEB-INF/jsp",even though it gives error as below.

    jsp-reportconnectino-send.png.77182cbe320b094f5df81af1862bd9b6.png

    I want to load this jsp file first when i click on report inside server,which will takes inputs from user & gives that value to Main.jrxml file

    but it gives below error when i put that file

     

     

    The server has encountered an error. Please excuse the inconvenience.

    Error Message

    java.lang.IllegalStateException: Exception occurred rendering view org.springframework.web.servlet.view.JstlView: name 'modules/viewReport/reportOutput'; URL [/WEB-INF/jsp/modules/viewReport/reportOutput.jsp]

     

    jsp-reportconnectino-send.png.4548a3edd068804b1f4322631ec83811.png

×
×
  • Create New...