Select to view content in your preferred language

Error due to less than or equal (<= symbol) in query

2683
12
Jump to solution
03-06-2013 12:17 PM
PierreLarondelle
Regular Contributor
Hello,

I've tried the following query in Flash Builder 4.6 : <esri:Query id="query1FR" where = " pw_fre <= '{qText2FR.text}' "  which causes an error while compiling with a warning message telling that the value of atribute "where" associated to an element type "esri:query" must not contain the character '<'

How do I query properly in Flex using operators "<" and "<=" , can anybody show me how to do it the right way ?
Thanks already,
Pierre
Tags (2)
0 Kudos
12 Replies
PierreLarondelle
Regular Contributor
Anthony and Robert thanks a lot for your help !

The query works perfectly with the &lt; and &gt; escaping. Nevertheless, I'm trying to follow the best practices and will move the queries to the actionscript from now as suggested.

Have a nice day,
Pierre
0 Kudos
AnthonyGiles
Honored Contributor
Pierre,

Please do not forget to mark the post as answered.

Regards

Anthony
0 Kudos
PierreLarondelle
Regular Contributor
Sorry Anthony, thanks for doing it. Won't forget the closing mark next time.
Regards,
Pierre.
0 Kudos