calling graphics from forms

From: James Carroll <james.carroll_at_bpainc.com>
Date: 1996/05/09
Message-ID: <319206B0.394E_at_bpainc.com>#1/1


Has anyone else had this problem:

   I've embedded a graphic in a form and want to use the OG.INTERPRET command to execute procedure in graphics from forms. Without parameters this is ok, but with parameters I have problems. I can pass a number parameter ok, but a varchar parameter is giving me fits. Here's the calls:

  OG.INTERPRET(chart_file, 'secs_chart', 'set_run_number(15);');   OG.INTERPRET(chart_file, 'secs_chart',

               'set_query_parameter(fc5_actual);');   OG.INTERPRET(chart_file, 'secs_chart', 'set_query;');

The first and last one work ok, but the middle one gives me a PL/SQL error (in graphics). The procedure I'm calling in graphics is defined as:

  PROCEDURE set_query_parameter(temp IN VARCHAR2) IS

Any ideas why this isn't working? I've gone over the documentation and found more errors in it than there ever was in my code so it's no use. Thanks for any help.

James
jjcarr_at_bpainc.com Received on Thu May 09 1996 - 00:00:00 CEST

Original text of this message