0
これは、Webブラウザでレポートを呼び出すために使用するプロシージャです。REP-52005:指定したキーがキーマップファイルに存在しません
PROCEDURE proc_call IS
rep_url VARCHAR2(2000);
to_date1 VARCHAR2(12);
destype1 VARCHAR2(15);
desformat1 VARCHAR2(15);
copies NUMBER(3);
desname1 VARCHAR2(25);
userid1 VARCHAR2(5);
the_username VARCHAR2(25);
the_password VARCHAR2(25);
the_connect VARCHAR2(25);
BEGIN
the_username := get_application_property(username);
the_password := get_application_property(password);
the_connect := get_application_property(connect_string);
to_date1 :=:fertrake_receipt.select_month
|| :fertrake_receipt.select_year;
destype1 :=:fertrake_receipt.destype;
desformat1 :=:fertrake_receipt.desformat;
copies :=:fertrake_receipt.copies;
userid1 :=:fertrake_receipt.userid;
rep_url := '/reports/rwservlet?&userid&report=details_outstanding_private_trade.jsp&destype='
|| destype1
|| '&desformat='
|| desformat1
|| '&copies='
|| copies
|| '&MONTH_YY='
|| to_date1
|| '&userid1='
|| userid1
|| '¶mform=no';
web.show_document(rep_url,'_blank');
END;
以下のコードでは、ボタンが押されたトリガボタンと上記の手順が記述されています。
DECLARE
al_id alert;
al_button NUMBER;
BEGIN
IF :fertrake_receipt.select_month IS NULL THEN
al_id := find_alert('Alert_message');
set_alert_property(al_id,alert_message_text,'Enter A Valid MONTH');
al_button := show_alert(al_id);
RAISE form_trigger_failure;
go_item(:fertrake_receipt.select_month);
END IF;
proc_call;
END;
が、私はレポート を実行するためのボタンを押したときには、エラー REP-52005を与える:指定されたキーは、キーマップファイルに存在しません。
私はレポートの
ようこそstackoverflow.comへようこそ。 [ヘルプページ](http://stackoverflow.com/help)、特に「[ここではどのような話題について聞くことができますか?](http://stackoverflow.com/help/on)セクションを読んでください。 -topic)」と「[どのような種類の質問を避けるべきですか?](http://stackoverflow.com/help/dont-ask)」を参照してください。また、[ツアーを受けてください](http://stackoverflow.com/tour)と[良い質問をする方法](http://stackoverflow.com/help/how-to-ask)を読んでください。最後に、[最小限の完全で検証可能な例](http://stackoverflow.com/help/mcve)の作成方法を学んでください。 – ArturFH