Home » Developer & Programmer » Forms » Dynamic Global Variable
Dynamic Global Variable [message #87715] Thu, 03 February 2005 06:16
Habeeb
Messages: 61
Registered: August 2000
Member
The user changes the amount for an account, which has an account_id, account_start_dt and account_end_dt. The user can change the amounts for more then one account.
But after the change the user has to validate the account, if not the user gets a message with the account_id, account_start_dt and account_end_dt information and the same information is used to update and insert certain tables.
If the user validates certain accounts but not all of them then the user gets messages for the remaining accounts.
For this purpose I need a dynamic global which will contain the account_id, account_start_dt and account_end_dt information.
example:

:global.1 := 11111_01/01/2002_12/31/2002
:global.2 := 11122_06/01/2001_12/31/2001
:global.3 := 11133_07/01/2002_06/30/2003

I have created a dynamic global
copy(l_index, 'global.'||l_index);
which will have the index value concatenated to the global. But then once the global is created, I have to assign values to this.
How do I refer to this global?
How can I do this??
Previous Topic: Search a Record
Next Topic: Calling Form from a Tab
Goto Forum:
  


Current Time: Sun Nov 03 05:29:24 CST 2024