Announcements
Hi,
I have created a query in which I have used the LeftOuterJoin.
But I want to add the DataItemTableFilter based on the boolean field value of the table.
I want this filter to work only if the uerIsEuropeanfield is true else the filter should not work and fetch all the records from both tables..
I don't know how to make this DataItemTableFilter not work based on the condition.
Can you please help me? or can you please suggest me another solution like how to add if else in DataItemTableFilter. or any other solution?
Kindly help.
Regards.
Hi ZHU,
This is to insert data in a temporary table and use that temp table in the process but before this, I want to filter.
I got your point, thanks for suggesting it.
Regards.
Hi, just adding some info.
My suggestion is to add a new temporary table, use this temporary table to create reports, and sort according to your needs when inserting values.
Although the efficiency is not the best, but the simplest.
Hope this helps.
Thanks.
ZHU
hi
look this
learn.microsoft.com/.../devenv-query-using-instead-record-variables
"I cannot use a query as a data item in the query" -> not possible
check my answer if it helped you, thanks
DAniele
Hi Daniele Incalza,
Thank you very much for replying.
I have found another logic to do my work, not adding DataItemTableFilter, but I'm more interested in your method.. can you please elaborate more?
I cannot use a query as a data item in the query
Regards.
Hi
can't be dynamic that filter
either make two queries, or put it as a filter in the dataitem fields but as a filter so that from AL you can filter by whatever you want
DANiele
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator