|
|
|
Ошибка в коде
|
|||
|---|---|---|---|
|
#18+
Добрый день! Есть такой код... procedure OnInitVarParams; begin Report.VarParams['За дату'] := Date; end; var Группа1: Integer; Группа2: Integer; begin if Группа1 then Page1.Visible :=True else Page1.Visible := False; if Группа2 then Page2.Visible :=True else Page2.Visible := False; Query1.ParamByName('dat').Value := Report.VarParams['За дату']; Query2.ParamByName('dat').Value := Report.VarParams['За дату']; Query3.ParamByName('dat').Value := Report.VarParams['За дату']; Query4.ParamByName('dat').Value := Report.VarParams['За дату']; end. При этом у меня перед запуском отчета выполняется параметр "За дату"..но не проходит по условию "Группа1" или "Группа2".. Подскажите в чем ошибка? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.07.2013, 10:42 |
|
||
|
|

start [/forum/topic.php?desktop=1&fid=31&tid=1534000]: |
0ms |
get settings: |
10ms |
get forum list: |
18ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
96ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
31ms |
get tp. blocked users: |
1ms |
| others: | 229ms |
| total: | 407ms |

| 0 / 0 |
