Hi, I need to get the run time query range specified in the query range dialog via x++. The following code is working for me when the query data source is a table. CustomerMarginReportTmp.DateRange = queryRun.query().dataSourceTable(tableNum(CustInvoiceTrans)). rangeField(fieldNum(CustInvoiceTrans, invoicedate)).value(); But it does not work when I specify view as query data source CustomerMarginReportTmp.DateRange = queryRun.query(). dataSourceTable(tableNum(CustInvoiceTransView)). rangeField(fieldNum(CustInvoiceTransView, invoicedate)).value(); Thank you.
↧
Run time query range value
↧