And the parcer in this case will replace myfi...@myfieldprefix with
value from filter definition?

On 27 апр, 15:25, Fabio Maulo <fabioma...@gmail.com> wrote:
> That is not a formulaCan you write something like this ?
> select yourfi...@yourfieldprefix from Something
>
> 2009/4/27 s_tristan <ad...@zestad.ua>
>
>
>
>
>
>
>
> > I have a property mapping when I need a dynamic SQL substitution:
>
> > <property name='MyProperty'
> > formula='MyProperty:MyFilterDef.DynamicPrefix'/>
>
> > And corresponding filter definition:
>
> > <filter-def name='MyFilterDef'>
> >       <filter-param name='DynamicPrefix' type='String'/>
> > </filter-def>
>
> > Then I send this parameter to a session:
>
> > string MyVar = "MyVar";
> > session.EnableFilter("MyFilterDef").SetParameter("DynamicPrefix",
> > MyVar);
>
> > But this does not work - parser does not recognize the filter
> > parameter, it sends SQL query like:
> > "... MyProperty:MyFilterDef.DynamicPrefix as Formula_0_1"
> > instead of:
> > "... MyPropertyMyVar as Formula_0_1"
>
> > Is this an expected behaviour? If yes, how to workaroung this to send
> > this parameter to SQL query?
>
> --
> Fabio Maulo- Скрыть цитируемый текст -
>
> - Показать цитируемый текст -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to