|
Ошибка в коде
|
|||
---|---|---|---|
#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: |
12ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
31ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
32ms |
get tp. blocked users: |
2ms |
others: | 15ms |
total: | 122ms |
0 / 0 |