Skip to main content



      Home
Home » Archived » BIRT » Using BIRT Parameter with LIKE
Using BIRT Parameter with LIKE [message #893568] Wed, 04 July 2012 11:22 Go to next message
Eclipse UserFriend
I want to have parameter COMPANY where it will show me records for some specific company if I select it or to show me records for all companies if I did not select any.
So I suppose I must create parameter which would not be required and something in query:

company like '%?%' or what is the correct expression I can not find it?

So I want to be able to show me records for all companies or for one specific company which will be selected from combo box (with dynamic values)

Thanks
Re: Using BIRT Parameter with LIKE [message #893801 is a reply to message #893568] Thu, 05 July 2012 10:18 Go to previous message
Eclipse UserFriend
You could create a scripted dataset with the value ALL, then create a
jointdataset with your company name dataset. This could be used to
prompt the user for the companies. Then modify the query that gets the
data to use this parameter in its beforeOpen. Have a look at the
attached example.

Jason

On 7/4/2012 11:22 AM, Missing name Mising name wrote:
> I want to have parameter COMPANY where it will show me records for some
> specific company if I select it or to show me records for all companies
> if I did not select any.
> So I suppose I must create parameter which would not be required and
> something in query:
>
> company like '%?%' or what is the correct expression I can not find it?
>
> So I want to be able to show me records for all companies or for one
> specific company which will be selected from combo box (with dynamic
> values)
>
> Thanks
  • Attachment: all.zip
    (Size: 3.47KB, Downloaded 230 times)
Previous Topic:Report Design Perspective missing from Open Perspective Window
Next Topic:Load font by relative path instead of full path for birt 3.7.2
Goto Forum:
  


Current Time: Wed Jul 23 20:11:01 EDT 2025

Powered by FUDForum. Page generated in 0.04715 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top