Re: Strange Forms4.5 error

From: Fernando Luna <fern_at_big.aa.net>
Date: 1995/07/19
Message-ID: <3uja2m$1nd_at_big.aa.net>#1/1


Rob Zoeteweij (Rob.Zoeteweij_at_inter.nl.net) wrote:
: When running the next procedure from the PRE-FORM trigger :
 

: procedure init_params is
: begin
: :GLOBAL.first_block := get_form_property(:SYSTEM.current_form,

                                         FIRST_NAVIGATION_BLOCK);

: :GLOBAL.first_block_item :=
: get_block_property(:GLOBAL.first_block,FIRST_ITEM);
: end;
 

: Runform will give me "FRM-40738 : Argument 2 to builtin
: GET_BLOCK_PROPERTY cannot be null"

Hmmmm.... Have you tried changing the PRE-FORM trigger to a WHEN-NEW-FORM-INSTANCE trigger? I've found, especially in Forms 4.0, though I realize we're talking 4.5 here, that sometimes a problem that presents itself in PRE-FORM goes away in WHEN-NEW-FORM-INSTANCE...

Hope that helps... Received on Wed Jul 19 1995 - 00:00:00 CEST

Original text of this message