Announcements
No record found.
Hi,
In my Form there is grid which has the columns as shown below. I have filter controls for From....ToDate. and Site and Warehouse. My requirement is when i apply site and warehouse the grid should be filtered based on the site and warehouse. The From and To Date filter works fine.
How to achieve this.
Thanks & Regards,
Ram.
There are a lot of forms, which are working this way, so you can take a look at how it is done, for example, Forms\WMSTransportHandling and it's "OptionGroup". Basically, you should look at this group's control's "DataMethods" and WMSTransport_ds.executeQuery().
Field modified()
{
this.executequery();
}
executequery()
this.query().dataSourceTable(tableNum(%TableName%)).addRange(fieldNum(%TableName%, %FieldName%)).value(queryValue(%FieldValue%)); --> site value
this
.query().dataSourceTable(tableNum(%TableName%)).addRange(fieldNum(%TableName%, %FieldName%)).value(queryValue(%FieldValue%)); --> site value
.query().dataSourceTable(tableNum(%TableName%)).addRange(fieldNum(%TableName%, %FieldName%)).value(queryValue(%FieldValue%)); --> warehouse value
super();
Before the call to super(), add the filter (range) you need to the query.
Try this and let me know
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.