Results 1 to 2 of 2
  1. #1
    ibm579 is offline Member
    Join Date
    Dec 2010
    Posts
    2
    Rep Power
    0

    Default iam facing problem

    my requirement is :

    plz provide code for below


    If dates are giving dynamically

    suppose fromdate is:1/1/2010

    ToDate is:31/3/2010



    then the data from the system is in below format





    s.no CUSTOMER NAME DATE AMOUNT

    1. giri 1/1/2010 1000


    2. giri 15/1/2010 1000

    3. giri 15/2/2010 2000


    4. giri 10/3/2010 3000


    5. phani 1/1/2010 1000


    6. phani 5/2/2010 2000



    7. phani 16/3/2010 3000



    8. nari 1/1/2010 1000


    9. nari 10/1/2010 2000



    10. nari 15/1/2010 3000
    -------------------------------------


    total 1900

    -------------------------------------







    Then the required format is:

    header also should dynamically from the given dates.



    s.no CUSTOMER NAME JAN FEB MAr TOTAL


    1. giri 2000 2000 3000 7000



    2. phani 1000 2000 3000 6000



    3. nari 6000 0 0 6000


    -------------------------------------------------------

    TOTAL 19000


    -------------------------------------------------------


    actully it is having lot of data .after giving from date,to date the data will come

  2. #2
    ibm579 is offline Member
    Join Date
    Dec 2010
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Facing problem in Java Swing
    By hbeon in forum AWT / Swing
    Replies: 2
    Last Post: 12-07-2010, 12:11 AM
  2. Facing problem in connectivity to MySql Server
    By sunny23m in forum Advanced Java
    Replies: 3
    Last Post: 09-18-2010, 07:06 PM
  3. Replies: 3
    Last Post: 01-30-2010, 07:48 PM
  4. i am facing some problem with <h:selectOneMenu> default One
    By sridharavulapati in forum JavaServer Faces (JSF)
    Replies: 1
    Last Post: 09-09-2009, 02:08 PM
  5. Facing problem while sending e-mail
    By jay8186 in forum Java Servlet
    Replies: 1
    Last Post: 03-25-2009, 07:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •