31.07.2007, 15:00 | #1 |
Участник
|
axcoder: Unwanted fields fetching when selecting by unique index
Источник: http://axcoder.blogspot.com/2007/07/...selecting.html
============== Last friday i was optimizing a form with a lof of display fields with an implementation like the following: X++: display EmplName emplName() { return EmplTable::find(this.EmplID).Name; } X++: display EmplName emplName() { return this.EmplID ? (select Name from EmplTable where EmplTable.emplID==this.EmplID).Name : ""; } It was strange... With a great help of my co worker, i've found the following:
X++: display EmplName emplName() { return this.EmplID ? (select Name from EmplTable where EmplTable.emplID==this.EmplID && EmplTable.recID ).Name : ""; } Источник: http://axcoder.blogspot.com/2007/07/...selecting.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|