Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8008439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:08:24+00:00 2026-06-04T18:08:24+00:00

i try to assign date value which i get for JDateChooser (toedter component), to

  • 0

i try to assign date value which i get for JDateChooser (toedter component), to a parameter in IReport which is java.util.Date type.

Here’s my code :

toDate = toDatePicker.getDate();
hash.put("period2", toDate);
jasperReport = JasperCompileManager.compileReport(jasperDesign);
jasperPrint = JasperFillManager.fillReport(jasperReport, hash, con);

But the jasper viewer say that the document has no pages. When i try to preview my report, choosing the parameter with the same date, I get my report properly.
I hope i explained well. Thanks….

Edit : my mistake, i pass wrong parameter name, it should be “periode2”, not “period2”. Thanks…
Btw, should i delete this post?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T18:08:26+00:00Added an answer on June 4, 2026 at 6:08 pm

    after long debugging, i realize that i pass wrong parameter name to the report.

    It should be “periode2”, not “period2”. So JDateChooser from toedter is safe to use for get date parameter and pass it to report which have java.util.Date parameter. Thanks and sorry for my mistake 😀

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

during the prepareForSegue I try to assign a value to property and get the
When,i try to assign null value to my pointer,it sometimes crashes on that line.
when i try to assign values to dynamic array using function scanf, i'll get
I have a static size array of length 1, which I try to assign
I am try to assign the value to char like this char Cipher1[16] =
I have following javascript in which I want assign value of str to hidden
I simply try to assign a background color to each div. it looks simple
I've been struggling with something that's probably very obvious: When I try and assign
I need to find the text 'ifeq ($(Param1)' using grep. I try to assign
i.e. if I create a VARCHAR(50) field, what happens if I try to assign

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.