064105 发表于 2011-12-23 14:27

想請問有沒有人會用Reporting Servive讀INFORMAX資料庫,如何使用第二個互動參數值(?)

想請問有沒有人會用Reporting Servive讀INFORMAX資料庫,如何使用互動式參數
建立下拉選單如下,以a為下拉值,希望加工一個全選項
select '全選' as a
from Tabel
UNION
select distinct a
from Tabel
where a = ? or '全選' = ?

(其中 ? 為 互動參數)

yunzhongyue 发表于 2011-12-23 18:15

记得用如下这种方式是可以的
let l_sql="select * from table where c1=?"
prepare l_cur for l_sql
execute l_cur using 变量名

sychangchun 发表于 2012-01-29 13:08

分享了。学习。
页: [1]
查看完整版本: 想請問有沒有人會用Reporting Servive讀INFORMAX資料庫,如何使用第二個互動參數值(?)