[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dtp] Re: How to get dataset filters

Hi Linda,

Thanks for your answer.

By "dataset filters", I mean filters declared in the dataset editor window.
My query is designed graphicaly so I can't insert filters in the query. That
is why I want to get filters declared 2 tabs below to apply them.

I use DTP 1.6.2 and BIRT 2.3.2

So either I will update the version of DTP, or using the basic filter
verification. Assuming that I prefer start by perform a minimal syntax
checking, how do I access the filter from the Prepare and Execute functions
?

Thank you in advance

Frederic

"Linda Chan" <lchan@xxxxxxxxxxx> a écrit dans le message de news:
gstf6i$u8g$1@xxxxxxxxxxxxxxxxxxxx
> Hi Frederic,
>
> By "dataset filters", I presume you meant input parameter on a data set
> query?
> Which version of DTP or BIRT are you using?  Prior to DTP 1.7, the ODA
> runtime API sets an input parameter value only after IQuery#prepare, and
> before it is executed.  In 1.7, new experimental API is introduced to pass
> in parameter and property values to an IQuery before its query text is
> prepared; see   http://wiki.eclipse.org/Galileo_DTP_ODA_API_Changes_Spec
>
> So if you are working with the earlier API, one way to handle this is to
do
> minimal syntax checking at #prepare, and defer the full "prepare"
operations
> till #executeQuery is called.   Hope this helps.
>
> Linda
>
>