Skip to main content



      Home
Home » Archived » BIRT » Create MySql Dataset at Runtime
Create MySql Dataset at Runtime [message #785521] Sat, 28 January 2012 23:52 Go to next message
Eclipse UserFriend
Dear All,

Could anyone please give me an example how to create a Mysql Dataset at runtime?

Thanks in advance

Karvesh
Re: Create MySql Dataset at Runtime [message #786629 is a reply to message #785521] Mon, 30 January 2012 11:52 Go to previous messageGo to next message
Eclipse UserFriend
Are wanting to do this in script?

Jason

On 1/28/2012 11:52 PM, karvesh Mising name wrote:
> Dear All,
>
> Could anyone please give me an example how to create a Mysql Dataset at
> runtime?
>
> Thanks in advance
>
> Karvesh
Re: Create MySql Dataset at Runtime [message #786985 is a reply to message #786629] Mon, 30 January 2012 21:45 Go to previous messageGo to next message
Eclipse UserFriend
Dear Jason,

if possible yes.
I also want to add onFetch events in the code while creating the dataset too.

Is there a way to do it?

Thanks in advance

Karvesh
Re: Create MySql Dataset at Runtime [message #787470 is a reply to message #786985] Tue, 31 January 2012 11:09 Go to previous messageGo to next message
Eclipse UserFriend
Take a look at the attached example. It creates a jdbc data source/set
and a table. It does not add the script but you can do this by using:

dsHandle.setOnFetch(code) where code is a string.

Jason

On 1/30/2012 9:45 PM, karvesh Mising name wrote:
> Dear Jason,
>
> if possible yes.
> I also want to add onFetch events in the code while creating the dataset
> too.
>
> Is there a way to do it?
>
> Thanks in advance
>
> Karvesh
Re: Create MySql Dataset at Runtime [message #787473 is a reply to message #786985] Tue, 31 January 2012 11:09 Go to previous messageGo to next message
Eclipse UserFriend
Take a look at the attached example. It creates a jdbc data source/set
and a table. It does not add the script but you can do this by using:

dsHandle.setOnFetch(code) where code is a string.

Jason

On 1/30/2012 9:45 PM, karvesh Mising name wrote:
> Dear Jason,
>
> if possible yes.
> I also want to add onFetch events in the code while creating the dataset
> too.
>
> Is there a way to do it?
>
> Thanks in advance
>
> Karvesh
Re: Create MySql Dataset at Runtime [message #787850 is a reply to message #787473] Tue, 31 January 2012 22:26 Go to previous message
Eclipse UserFriend
Dear Jason,

Thanks a lot again!! Works perfectly

Karvesh
Previous Topic:How to Hide Table Detail Row Runtime
Next Topic:Custom emitter
Goto Forum:
  


Current Time: Wed Jul 23 14:39:52 EDT 2025

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

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

Back to the top