|
![]() |
#1 |
Модератор
|
![]() Цитата:
В \Forms\Form1 X++: //\Forms\Form1\Methods\classDeclaration public class FormRun extends ObjectRun { guid _guid; } //\Forms\Form1\Methods\init public void init() { Object callerFromRun = element.args().caller(); ; if (callerFromRun && formhasMethod(callerFromRun, identifierstr(getTestGUID))) { _guid = callerFromRun.getTestGUID(); } super(); } //\Forms\Form1\Data Sources\Table1\Methods\executeQuery public void executeQuery() { Table1 _table1; ; super(); if(_guid) { _table1 = Table1::find(_guid); Table1_ds.findRecord(_table1); } } X++: //\Forms\Form2\Methods\getTestGUID guid getTestGUID() { return Table2.testGUID; }
__________________
This posting is provided "AS IS" with no warranties, and confers no rights. Последний раз редактировалось Poleax; 06.12.2010 в 13:39. |
|