Показать сообщение отдельно
Старый 10.02.2003, 06:14   #6  
Andrew Besedin is offline
Andrew Besedin
Участник
 
121 / 15 (1) ++
Регистрация: 25.01.2002
2 EVGL

Читаем в книжке Creating Forms\ Designing Forms статья Using Display and Edit Methods

Tips
A display method is called each time the form is re-drawn and consequently a display method should never hold calculations more complex and time consuming than what corresponds to one direct lookup in the database.
A display (or an edit) method is not activated if it is on a hidden tab page

Так что гораздо лучше сделать кнопульку "Занято" на форме шт.расп. и считать эти Join'ы на здоровье :-) А из Grid'а убрать...
__________________
С уважением,
Андрей Беседин