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

  • SEARCH
  • Home
  • 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 7667575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:08:24+00:00 2026-05-31T15:08:24+00:00

I have a table component which shows some records in a group of year

  • 0

I have a table component which shows some records in a group of year like this

For example:

Year   Month    SumMonth //group header
2009   Jan      1000     //table details
       Feb      2000
       Mar      3000
2009   xxxx     6000     //group year footer
2010   Jan      1100     //table details
       Feb      1200
2010   xxxx     2300     //group year footer

The “xxxx” part in the above table is which i need to modify.

I want to display the format like this:

“Jan-Mar” (for 2010 is “Jan-Feb“)

The question is how to get the value of first month and last month and concatenate them into a variable (or not need to?), so that I can put it into footer?

The other problem is that how can I hide the records in specific year?

For example the final modified display may like this:

Year   Month     SumMonth //group header
2009   Jan-Mar   6000     //group year footer
2010   Jan       1100     //table details
       Feb       1200
2010   Jan-Feb   2300     //group year footer

You can see the whole records in 2009 are hided in the above table.
Which options or what expression should I set?

  • 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-05-31T15:08:25+00:00Added an answer on May 31, 2026 at 3:08 pm

    Create a variable called FirstMonth. Its Expression is $F{month} and its Calculation is First. Create a variable called LastMonth. Its Expression is $F{month} and its Calculation is None. In your case both should reset for each year. Then in the year footer it is as simple as this:

    $V{FirstMonth} + "-" + $V{LastMonth}
    

    If you don’t want to see details for Year 2009 then set a Print When Expression in the detail band like ${Year}.intValue() != 2009

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

Sidebar

Related Questions

I have table and this table contain result column with some entries. I just
I have table with 300 000 records (MyISAM). I get record from this table
I have a ADF table component which is bounded to a list we are
recently i was thinking making a component which like html's table tag. html table
Guys this is my first question. I have a table which displays the students
I have the following Table example here: http://jsfiddle.net/Lu9y3/ Which is based on the Telerik
I have a class which I would like to map as a component onto
I have a table Movies in access, connected with OleDBConnection, and Datagridview1 component. Have
I have a JSplitPane with a vertical split. The top component is a table
I have table in which I am inserting rows for employee but next time

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.