![]() |
#4 |
Moderator
|
Цитата:
PlasticinE
Попробуй сказать ему : SalesId st; Цитата:
Dron AKA andy
А здесь можно использовать переменную типа SalesLine: SalesLine sl; ; select sum(LineAmount) from sl where sl .SalesId==SalesLine.SalesId; print sl.LineAmount; print (select sum(LineAmount) from sl where sl .SalesId==SalesLine.SalesId).LineAmount; А вот это уже не работает !!!!! Курсор становится на sl и говорит, что таблица не существует. Почему ???? |
|