Steve Workings
06-14-2013, 11:41 PM
{grid.Object}.gridFilterSet(filterExpression [, orderExpression [, filterParameters]]) allows arguments for the filter parameters, e.g.
GRID1_GridObj.gridFilterSet('city=:whatCity' ,'Contactname','london|||c|whatCity\nuk|||c|whatcountry');
But I can't figure out the correct format of the argument to filter by date. These, for instance, do not work (using MS SQL btw):
{grid.object}.gridFilterSet('Lot_ID = :Available_Date', '', '06/15/2013|||d|Available_Date');"
{grid.object}.gridFilterSet('Lot_ID = :Available_Date', '', '2013-06-15|||d|Available_Date');"
{grid.object}.gridFilterSet('Lot_ID = :Available_Date', '', '2013-06-15|||c|Available_Date');"
Anyone know?
GRID1_GridObj.gridFilterSet('city=:whatCity' ,'Contactname','london|||c|whatCity\nuk|||c|whatcountry');
But I can't figure out the correct format of the argument to filter by date. These, for instance, do not work (using MS SQL btw):
{grid.object}.gridFilterSet('Lot_ID = :Available_Date', '', '06/15/2013|||d|Available_Date');"
{grid.object}.gridFilterSet('Lot_ID = :Available_Date', '', '2013-06-15|||d|Available_Date');"
{grid.object}.gridFilterSet('Lot_ID = :Available_Date', '', '2013-06-15|||c|Available_Date');"
Anyone know?