|
|
|
Как програмно задать значение для параметра?
|
|||
|---|---|---|---|
|
#18+
Вставил ActiveX элемент Crystal Report ActiveX Viewer 11 и создал переменные: IApplicationPtr m_Application; IReportPtr m_Report; CCrystalReportViewer11 m_Viewer; VARIANT dummy; и код: m_Application.CreateInstance("CrystalRuntime.Application"); m_Report = m_Application->OpenReport("c:\\Report.rpt"); m_Viewer.SetReportSource(m_Report); m_Viewer.SetDisplayGroupTree(false); m_Viewer.ViewReport(); вот до последней строчки нужно задать параметр (имя параметра внутри отчёта -ID, тип - int) Спасиба ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.10.2006, 12:21:53 |
|
||
|
|

start [/forum/topic.php?fid=31&gotonew=1&tid=1538572]: |
0ms |
get settings: |
14ms |
get forum list: |
20ms |
check forum access: |
5ms |
check topic access: |
5ms |
track hit: |
46ms |
get topic data: |
17ms |
get first new msg: |
10ms |
get forum data: |
4ms |
get page messages: |
42ms |
get tp. blocked users: |
2ms |
| others: | 329ms |
| total: | 494ms |

| 0 / 0 |
