Hi Axel,
thanq very much for providing information.
I tried it with my code .
In my form i added some querybuild ranges to the data source.That ranges are
to be set enable or disable on certain conditions.if that range is activated
then only its working. if that range is not in active the filter is not shown
in grid.
can you help me in this.
my code in executequery is like this.
if(!DepartmentLock)
{
criteriaDepartmentCode.enabled(false);
criteriaDepartmentCode.value(EmplTable::findUserId(curuserid()).Dimension[1]);
}
else
{
criteriaDepartmentCode.value(sysQuery::value(Dimension.Text()));
criteriaDepartmentCode.enabled(true);
}
Post by Axel KühnHi,
i have written an article about automatically activating the filter on grid
function on form startup.
http://blog.ak-home.net/PermaLink,guid,fd2880c2-3f25-4219-ac8d-0c7f71e1690e.aspx (german version)
http://translate.google.com/translate?client=tmpg&hl=de&u=http%3A%2F%2Fblog.ak-home.net%2FPermaLink%2Cguid%2Cfd2880c2-3f25-4219-ac8d-0c7f71e1690e.aspx&langpair=de|en (english version)
Hope that helps you.
--
Sincerely yours
Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)
Post by revathiHi
I need a help regarding the filter on grid.
while we are giving the ctrl+g on grid it shows the filter on grid.how can
we set that the fileter should display automatically,while open the form.
in some forms its displaying automatically.