Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Create MySql Dataset at Runtime
Create MySql Dataset at Runtime [message #785521] Sun, 29 January 2012 04:52 Go to next message
karvesh ghunsam is currently offline karvesh ghunsamFriend
Messages: 95
Registered: July 2011
Member
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 16:52 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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] Tue, 31 January 2012 02:45 Go to previous messageGo to next message
karvesh ghunsam is currently offline karvesh ghunsamFriend
Messages: 95
Registered: July 2011
Member
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 16:09 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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 16:09 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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] Wed, 01 February 2012 03:26 Go to previous message
karvesh ghunsam is currently offline karvesh ghunsamFriend
Messages: 95
Registered: July 2011
Member
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: Tue Mar 19 07:02:16 GMT 2024

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

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

Back to the top