Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Oracle Forms says:"Invalid ID"instead of "OK"

cutovoicutovoi Member Posts: 14
Hi

I would like to know why this thing does not occurs! I explain:
I have created a Oracle Forms Application and when I click in print button, it must to show me a report.
But when I click in the button the following message appears:
"Cannot delete parameter list: Invalid ID".
I have defined the value for each radiobox in the Oracle Form Builder.
In my queries I compare the value write in the text box with the field in the query. Like this:
a.cod_cta_ger_rch = ':block3.grup', where block3 is my Datablock and grup is my textbox.
The code to pass the value of the text box is this:

if :tipo = 'IMP' and :BLOCK3.GRUPOS = 'GRUPO' then
pl_id2 := create_parameter_list('untitled');
IF :IMPRESSAO.IMP_ARQ <> 'Impressora padro' then
add_parameter(pl_id2,'DESNAME',TEXT_PARAMETER,:IMPRESSAO.IMP_ARQ);
END IF;
add_parameter(pl_id2,'DESTYPE',TEXT_PARAMETER,'PRINTER');
add_parameter(pl_id2,'PARAMFORM',TEXT_PARAMETER,'NO');
add_parameter(pl_id2,'GRUPOS',text_parameter, :block3.grupos);
add_parameter(pl_id2,'GRUP',text_parameter, :block3.grup);
add_parameter(pl_id2,'USER',text_parameter,user);

and this is the code where I pass:

"and b.cod_cta_ger_rch = ':block3.grup';"
The name of my canvas is "Parametros". Duty I to pass the name of my canvas or the name of my Datablock.
If I have not been concise I'll explain again for anyone which help me.

Please, can anyone help me?


Tks



Alex Cutovoi

Comments

  • Shawn CarterShawn Carter Member Posts: 0

    _________ [ http://forcoder.org ] free video tutorials and ebooks about [ PL/SQL, C#, Ruby, Swift, Scratch, Perl, Visual Basic .NET, R, Delphi, Objective-C, MATLAB, JavaScript, C++, C, PHP, Python, Visual Basic, Go, Java, Assembly Fortran, Bash, F#, FoxPro, Erlang, Kotlin, Julia, Clojure, Transact-SQL, COBOL, Prolog, Ada, Lisp, VBScript, Logo, Scala, Alice, Crystal, Scheme, Rust, Hack, Dart, Apex, Lua, SAS, ML, Awk, LabVIEW, ABAP, D ] ______________

Sign In or Register to comment.