Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » count of columns in fetched Dataset(dynamic report generation)
count of columns in fetched Dataset(dynamic report generation) [message #1060313] Fri, 24 May 2013 06:43 Go to next message
sai siddhardha korada is currently offline sai siddhardha koradaFriend
Messages: 3
Registered: May 2013
Junior Member
I am trying to generate reports(table) programatically using birt runtime api's(kind of Adhoc reporting ), where the user can enter any SQL query , application should connect to the DATASOURCE and fetch the DATASET based on the query the end user is going to enter.
here is where i am facing issue, after fetching the DATASET I am not being able to fetch the number of columns present in the fetched DATASET.I have tried using getColumnMetaData but could'nt succeed.
can any one please guide me to come out of this problem, all i have is OdaDataSetHandle with which i must fetch the count of columns and column names(i.e, all metadata regarding the DATASET).

Thanks in advance.
Re: count of columns in fetched Dataset(dynamic report generation) [message #1061063 is a reply to message #1060313] Wed, 29 May 2013 17:33 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

So you're using Java to design your report? Can you attach the code you're using, so I can see what all you're doing?


Developer Evangelist, Silanis
Previous Topic:Unable to get PDF output
Next Topic:small-caps and pdf-/word-emitter
Goto Forum:

Current Time: Fri Feb 21 19:45:36 GMT 2020

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

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

Back to the top