我有一點挑戰。我有我宣佈了一個名爲系參數的報告具有默認值是這樣的:如何根據參數選擇多個值?
各部門,項目,現場服務,研討會,保修,海洋,合同,製造。
每個部門都有由我進行分組,然後在部門如 外勤人員有[數據庫條目 「JOB - EXT」, 「JOB-AFMEXP」, 「JOB-LUB/S」, 「JOB-NBCMTU」,「JOB -ABB-AS「]
我還啓用了」允許多個值「複選框。
在我選擇的專家,我有:
{command.Job Posting Group} in
switch(
{?Department} = "All Departments",["","JOB - EXT", "JOB-AFMEXP", "JOB-LUB/S", "JOB- NBCMTU","JOB-ABB-AS","JOB-CANPJB",
"JOB-INSTAL","JOB-CUMNS", "JOB-W/SHOP", "JOB-WS/GEN","JOB-WTY","JOB-MAR","JOB-S/AGR", "RENTAL"],
{?Department} = "Project",["JOB-INSTAL"],
{?Department} = "Field Service", ["JOB - EXT", "JOB-AFMEXP", "JOB-LUB/S", "JOB-NBCMTU","JOB-ABB-AS"],
{?Department} = "Workshop", ["JOB-CUMNS", "JOB-W/SHOP", "JOB-WS/GEN"],
{?Department} = "Warranty",["JOB-WTY"],
{?Department} = "Marine",["JOB-MAR"],
{?Department} = "Contract",["JOB-S/AGR"],
{?Department} = "Manufacturing",["JOB-CANPJB"]
)
的問題是,當我進行測試(與CR10或網絡),我選擇多個值,那東西不顯示的值多個值。它只適用於我選擇一個部門。 我該怎麼辦?
好了,但後來我在哪裏存儲每個部門陣列,因爲該部門的名稱不存儲在數據庫中 – Abimbola