Advanced query error

Advanced query error

  
Hi all,

I have the following error in the advanced query, and don't understand why.
someone can help me??

Hi Frederico,

In short, this is caused by a mismatch between the output structure and the result of the query - the system is trying to store a column of type DateTime into a field of type Boolean. And this is related to the alias your're using (ENREF_ContextData_2.*).

See this topic for the full details:
http://www.outsystems.com/forums/discussion/8248/Advanced+Query+Pitfalls+-+using+alias+and+wildcards/

Thanks!