Forms 3.0: Dynamic Globals

From: Gordon Johnstone <gordon_at_etx.oz.au>
Date: Fri, 17 Dec 93 23:45:14 GMT
Message-ID: <1993Dec17.234514.20217_at_etx.oz.au>


For those that have seen this before, sorry, I forgot to update the distribution.
==

I would like to dynamically define some global variables. The names exist in a table which I am reading in to a forms variable.

My problem is that when I try and assign a value to my global variable using copy('abc',name_in(forms_variable)) I get an error about the global variable not existing. Ok, so by RTFM I decide to use the default_value function, which specifically mentions it will create global variables if they don't exist, but it seems to behave the same as copy, and fails because the global variable is not defined.

This functionality is somewhat overdue for conversion from Forms 2.3 triggers. Can anyone suggest how to make it work? TIA.

Gordon Johnstone                                gordon_at_etx.oz.au
ETX Consultants                                 Ph: 61 3 820 1044
Personnel Consultants - Melbourne Australia     Fax 61 3 867 7960
Received on Sat Dec 18 1993 - 00:45:14 CET

Original text of this message