Steven, This is a bug/limitation in the current implementation. Please make a feature request on the issue tracker and I'll implement it in v6.1.
On Sep 11, 2013, at 1:51 PM, Steven Abney <[email protected]> wrote: > I'm running into something odd when using the query extended format: > > QUERY/QUERY SELECTION(inTable; inConjunction; inField; inComparator; inValue > {;*}) > > For some reason, I cannot use a variable in place of inConjunction or > inComparator. However, 4D itself does allow variable usage with the extended > query format. Is this due to the usage of "Execute" to handle the execution > of the query call? Or is it something I am just overlooking with this? Or > is it a known issue with this and I'll just have to write a 4d function to do > it? The error text I get back states "An operation on incompatible types was > attempted (expected an '=' or a '#' or a '<' or a '<=' or a '>' or a '>=' or > a '%') " when using a variable for the inComparator. I have verified the > value of the variable (using variable called "$comp" - declared as text, but > have tried numerous way such as string, not declared, etc, and tried various > variable names). > > > -------------------------------- > Steven R Abney > CSS Group, Inc > Applications Developer > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://list.aparajitaworld.com/listinfo/active4d-dev > Archives: http://active4d-nabble.aparajitaworld.com/ Regards, Aparajita _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://active4d-nabble.aparajitaworld.com/
