28.10.2006, 16:40 | #1 |
Участник
|
Fred Shen: Access a method of formDataSource's field
Источник: http://fredshen.spaces.live.com/Blog...E4E3!159.entry
============== In Axapta, it is allowed to create methods under formDataSource’s field. But how to access those methods, for example, in the scope of a control’s modified method? Here is the answer: void modified() { object fieldNameRef; super(); fieldNameRef = tableName_ds.object(fieldNum(tableName, fieldName)); fieldNameRef.methodName(); } ============== Источник: http://fredshen.spaces.live.com/Blog...E4E3!159.entry |
|