|
|
|
|
#1 |
|
Участник
|
Наканецта!!!!!!!!Ларчик просто открывался! ![]() qbds = this.query().dataSourceTable(tablenum(RAssetTransferTable)); qbds.addDataSource(tablenum(RAssetLocation)); this.query().dataSourceTable(tablenum(RAssetLocation)).addRange(fieldNum(RAssetLocation, recid)).value('((RAssetTransferTable.NewLocation==Location) || (RAssetTransferTable.OldLocation==Location))'); this.query().dataSourceTable(tablenum(RAssetLocation)).addRange(fieldNum(RAssetLocation, userGroupId)).value( (select groupId from UserGroupList where UserGroupList.UserId == currentUserId).groupId ); Спасиб огромное всем за помощь!!!
|
|
|
|
|
#2 |
|
Moderator
|
Не очень понял... так про "убрать RAssetLocation" мы давно уже говорили и вроде не помогало?... А суффикс "_1" , смотрю, так и не понадобился?
|
|
|
|
|
#3 |
|
Участник
|
вся проблема была в том что я делал:
qbds.addDataSource(tablenum(RAssetLocation)); qbds.addRange(fieldNum(RAssetLocation, recid)).value('((RAssetTransferTable.NewLocation==Location) || (RAssetTransferTable.OldLocation==Location))'); поменял qbds на this.query().dataSourceTable(tablenum(RAssetLocation)) и стало счастье!) |
|
|