И последнее. То, что Вы хотите сделать (связь Table4.Field3 = Table1.Field3), сделать можно, но не через addLink, а через addRange.
Вместо <div class='XPPtop'>X++</div><div class='XPP'>qbds.addLink([color=:blue]fieldNum[/color](Table1, Field3), [color=:blue]fieldNum[/color](Table4, Field3));</div> напишите
<div class='XPPtop'>X++</div><div class='XPP'>qbr = qbds.addRange([color=:blue]fieldNum[/color](Table4, RecId));
qbr.value(strfmt([color=:red]"(%1.%2 == %3.%4)"[/color],
table1DSName,
[color=:blue]fieldstr[/color](Table1, Field3),
qbds.name(),
[color=:blue]fieldstr[/color](Table4, Field3)));</div>
Перед этим в table1DSName сохраните имя dataSource, связанного с table1 (того, который Вы добавляете самым первым).
__________________
Not registered yet? Register here!
Have comments, questions, suggestions or anything else regarding our web site? Don't hesitate, send them to me
|