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 6737995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:18:54+00:00 2026-05-26T11:18:54+00:00

We are using Eclipse (Galileo) to create some custom BIRT reports (version 2.5) for

  • 0

We are using Eclipse (Galileo) to create some custom BIRT reports (version 2.5) for SilkCentral Test Manager (version 11). When creating the report in SCTM, we have to specify the SQL query to be used for the report. We also have to specify the SQL query when designing the BIRT report in Eclipse.

I know that in the SCTM SQL statement we could specify parameters to be pulled based on the current settings, such as the currently selected project:

WHERE TPN.PROJECTID_FK = ${$PROJECTID}

I thought this would carry over to the BIRT report that is associated with the SCTM report, but this is not the case. I created a new report in SCTM and specified the following query (which contains no information that will be displayed in the BIRT report):

SELECT      proj."ProjectName", proj."ProjectID_pk"
FROM        "Silk"."SCC_Projects" AS proj

I then went to the report tab and associated a custom report and the report displayed correctly, proving that it is using the Data Source/Data Sets from BIRT and not the SQL provided in SCTM.

The problem I’m facing is that I want the custom report to display the currently selected project, but I’m not able to specify it properly in Eclipse. I need this because I want to only have one report template to be used for multiple projects, instead of having to upload a custom report for every single project.

  • A Hardcoded value for the project definitely does not work:

    WHERE TPN.PROJECTID_FK = 34

  • I tried setting it as a parameter (Name=projectID, DataType=Integer, DisplayType=Text Box, DefaultValue = 34).

    WHERE TPN.PROJECTID_FK = ?

    When this runs, the report pulls the Default Value, and not the currently selected project.

  • I tried setting it as a Dynamic Parameter (Name=projectID, DataType=Integer, DisplayType=ListBox, DataSet=ProjectID, SelectValueColumn=ProjectID_pk, SelectDisplayText=ProjectName, DefaultValue=36)

    This also pulls the Default Value when the report runs.

Default value is a required field, so I don’t know what to do to get this to work properly.

Any suggestions/solutions?

  • 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-26T11:18:54+00:00Added an answer on May 26, 2026 at 11:18 am

    Here is the solution that I came up with using and example from BirtReports.doc from the Borland site:

    In SCTM, I edited the SQL query from

    WHERE TPN.PROJECTID_FK = ${$PROJECTID}
    

    to

    WHERE TPN.PROJECTID_FK = ${currentProject|34|ProjectId}
    

    This creates a parameter named currentProject which passes the value 34 to the BIRT report under the parameter name rp_currentProject.

    I then edited the BIRT report’s projectID parameter to have the following values: Name=rp_currentProject, DataType=Integer, DisplayType=TextBox, DefaultValue = Empty/Null.

    In the DataSet for the report, I edited the ? parameter to be:
    Name=param_1, DataType=Integer, Direction=Input, DefaultValue=GreyedOut/Disabled, LinkedToReportParameter=rp_currentProject.

    So, I upload the same report template to multiple projects and under the Report > Parameters Tab in SCTM I change the value of the currentProject parameter to the correct project ID. This ID is passed to the Report and the correct information is displayed.

    BTW, I also tried this format but I was getting conflicting type errors:

    WHERE TPN.PROJECTID_FK = ${currentProject|${$PROJECTID}|ProjectId}
    

    I also tried using DECLARE/SET in the SQL to set the passed value to a variable, but I was getting an error stating that the SQL statement is invalid because it is no longer read-only.

    Hope this helps anyone that has this same problem!

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

Sidebar

Related Questions

I'm using Eclipse Galileo for PHP Developers and when I create new, empty project
I am using eclipse Galileo. The New Server Runtime Environment dialog box contains three
I am using eclipse galileo on my macbook pro. After a few minutes it
I'm using Eclipse Galileo (v3.51). All of a sudden, after weeks of it starting
Im using Eclipse 3.4, EclipseMe 1.7.9. Im trying to deploy/create package a simple project
I'm using eclipse(galileo) and struts2 framework and tiles. It seems that modifying xml files(struts.xml,
I'm using eclipse IDE Galileo fine on Ubuntu 10.04.(with JRE in the eclipse root
I am using Eclipse (J2EE Galileo) and have created a dynamic web project and
I'm using Eclipse Galileo. I want to connect the eclipse tasklist to a google
I'm using Eclipse Galileo and I have a small problem. Inside one of my

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.