|
12.09.2013, 21:57 | #1 |
Участник
|
Цитата:
X++: //when opening from back/forward (history) do not display query form if (this.args().dataset() != tableNum(InventSum)) { queryRunCriteria = new SysQueryRun(inventSum_ds.query()); queryRunCriteria.promptAllowAddDataSource(false); //we display form to modify query criteria in order to mitigate problems with bad performance when large amount of data //a user can set up filtering that will be used when the form is opened - this way the user can limit amount of data to be processed //the performance problem is due to the query being 'heavy' because of aggregation if (queryRunCriteria.prompt()) { inventSum_ds.query(queryRunCriteria.query()); } } inventSum_ds.executeQuery(); |
|
|
За это сообщение автора поблагодарили: IKA (1). |
13.09.2013, 13:13 | #2 |
Участник
|
|
|