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

Field does not display in header but does in detail lines


mpiaser

Recommended Posts

<?xml version="1.0" encoding="UTF-8"?>

I have included the source to the report.  The problem I'm having is I am trying to display a field "client" in the header and it won't display.  When I put the same field in the detail line, it displays so I know it has a value.  I am a rookie with Jasper Reports so I could be doing something really dumb but I just don't know what it is.

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

<?xml version="1.0" encoding="UTF-8"?>

Detail Analysis -

Reporter:

$P{reporter}

billing Month:

$F{billing_period_selected}

$P{message_when_void}

$F{client}

Phone Number

Owner Name

user Name

Device Name

Carrier

Original Activation Date

upgrade Eligibility Date

Device Status

Type

Make

Model

international Voice Plan Description

Data Plan Description

Add. Feature Plan Description

Premium Purchase Description

Peak Minutes

Off Peak / Free Minutes

Friends & Family Minutes

Roaming Minutes

Long Distance Minutes

Total Minutes

Push To Talk / Direct Connect

Directory Assistance Calls

sMS Usage

MMS Usage

Mobile To Mobile Messaging Usage

international Messaging Usage

Messaging In

Messaging Out

Total Messaging Usage

Aircard / Hot Spot Plan Usage (MB)

international Data Usage(MB)

Data Tethering Plan Usage (MB)

Total Data Usage (MB)

Voice Access Charge

Data Access Charge

Pager Access Charge

Add Feature Plan Charge

Proration Charge / Credit

Discount

M.A.C. Usage Adjustements

Voice Access Overage Charge

Data Usage Overage Charge

Call Forwarding Charge

Push To Talk / Direct Connect

Long Distance Usage Charges

international Voice Usage Charges

international Data Usage Charges

international Messaging Charge

Messaging Overage / Usage

Premium Purchases Charge

Directory Assistance

Equipment / Accesory

bAN Level Charges / Credits

surcharges / Government Fees / Taxes

Total Carrier Current Charges

Voice Cost Allocation

Non-Voice Cost Allocation

Peek Minutes Used

Cost Per Minute

Total Allocation Charges

Management Fee

Other Management Fee

Total Management Fees

Total Management Allocation Charges

Cost Center 1

Cost Center 2

Cost Center 3

Cost Center 4

Cost Center 5

Cost Center 6

Cost Center 7

Cost Center 8

Cost Center 9

Cost Center 10

Voice Plan Description

$F{phone_number}

$F{owner_name}

$F{user_name}

$F{device_name}

$F{carrier}

$F{original_activation_date}

$F{upgrade_eligibility_date}

$F{device_status}

$F{type}

$F{make}

$F{model}

$F{international_voice_plan_description}

$F{data_plan_description}

$F{add_feature_plan_description}

$F{premium_purchase_description}

Double.valueOf($F{peak_minutes})

Double.valueOf($F{off_peak_free_minutes})

Double.valueOf($F{friends_family_minutes})

Double.valueOf($F{roaming_minutes})

Double.valueOf($F{long_distance_minutes})

Double.valueOf($F{total_minutes})

$F{push_talk_direct_connect_minutes}

Double.valueOf($F{directory_assistance_calls})

Double.valueOf($F{sms_usage})

Double.valueOf($F{mms_usage})

Double.valueOf($F{mobile_2_mobile_messaging_usage})

Double.valueOf($F{international_messaging_usage})

Double.valueOf($F{messaging_in})

Double.valueOf($F{messaging_out})

Double.valueOf($F{total_messaging_usage})

Double.valueOf($F{air_card_hot_spot_plan_usage})

Double.valueOf($F{international_data_usage})

Double.valueOf($F{data_tethering_plan_usage})

Double.valueOf($F{total_data_usage})

Double.valueOf($F{voice_access_charge})

Double.valueOf($F{data_access_charge})

Double.valueOf($F{pager_access_charge})

Double.valueOf($F{add_feature_plan_charge})

Double.valueOf($F{proration_charge_credit})

Double.valueOf($F{discount})

Double.valueOf($F{mac_usage_adjustments})

Double.valueOf($F{voice_access_overage_charge})

Double.valueOf($F{date_usage_overage_charge})

Double.valueOf($F{call_forwarding_charge})

Double.valueOf($F{push_talk_direct_connect_charges})

Double.valueOf($F{long_distance_usage_cahrges})

Double.valueOf($F{international_voice_usage_charges})

Double.valueOf($F{international_data_usage_charges})

Double.valueOf($F{international_messaging_charge})

Double.valueOf($F{messaging_overage_usage_charge})

Double.valueOf($F{premium_purchases_charge})

Double.valueOf($F{directory_assistance_charges})

Double.valueOf($F{equipment_accessory_charges})

Double.valueOf($F{ban_level_charges_credits})

Double.valueOf($F{surcharges_government_fees_taxes})

Double.valueOf($F{total_carrier_current_charges})

Double.valueOf($F{voice_cost_allocation})

Double.valueOf($F{non_voice_cost_allocation})

Double.valueOf($F{peak_minutes_used})

Double.valueOf($F{cost_per_minute})

Double.valueOf($F{total_allocation_charges})

Double.valueOf($F{management_fee})

Double.valueOf($F{other_management_fee})

Double.valueOf($F{total_management_fee})

Double.valueOf($F{total_management_allocation_charges})

$F{cost_center_1}

$F{cost_center_2}

$F{cost_center_3}

$F{cost_center_4}

$F{cost_center_5}

$F{cost_center_6}

$F{cost_center_7}

$F{cost_center_8}

$F{cost_center_9}

$F{cost_center_10}

$F{domestic_voice_plan_description}

 

Link to comment
Share on other sites

I tried again to post the source so hopefully it can be seen now.  All I am trying to do is to add one field (Client) to the title band.  I'm just dropping and dragging the field to what looks like an available space in the title band.  Unfortunately, when I do this  and compile the report, the report in Excel goes bonkers.  Lines 1 and 3 become extremely short and the client field never shows up on the report.

Link to comment
Share on other sites

There are two fields in the title band on the first line.  A static field with the text "Detail Analysis" and a variable field with $F{client}

Whichever field I drag to the begining of the line shows up on the report - the other field does not show up.  I want them both to appear next to each other.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...