Subject | Re: IBOQuery and datasource mechanics |
---|---|
Author | fabiano_bonin |
Post date | 2003-07-05T12:03:37Z |
Did you try to change 'OldParameterOrdering', in firebird.conf?
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@m...>
wrote:
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@m...>
wrote:
> I have an IBOQuery which worked fine in IB but not FB as follows:table2.field3=:PARAM1) as total
>
> <ABBREVIATED>
> select tablea.field1, tablea.field2,
> (select sum(table2.field1) from table2 where
> from tablea where tablea.field5=:PARAM2available
>
> Now this query was linked to a datasource and the param1 field was
> as well as the param2 field.PARAM2 gets
>
> In IB6.02 this query works fine but in FB1.5RC3 it does not. The
> linked but the PARAM1 does not. In fact I have more than onesubselect in
> this query (all of which use the param1) and even manuallyassigning
> parambyname in this context does not take, even when I name theparams
> uniquely. It silently returns no records at all.(especially when
>
> Don't know if this is IBO of FB.. ?
>
> I know about the argument that the param1 and subselect
> used in more than one subselect) is a different cursor but I wouldrather
> not hear "This was a bug in IB which has been fixed in FB"build these
> I rather like this feature and used to use it a lot. Now I must
> queries as fixed SQL statements.
>
> thoughts?
>
> thanks
> Alan