Make List (ViP Specific)
At 02 NOV 1997 01:52:53AM Jill wrote:
We wish to use Make List in much the same manner as in ARev.
For example, an account record contains a list of transactions
We wish to select the transactions for Period 4 only and display in a popup.
PERFORM 'MAKELIST ACCOUNTS ' : @ID : ' TRANS 'PERFORM 'SELECT TRANSACTIONS WITH PERIOD=4'OI has a MAKE.LIST command but it always gives a 'Variable undefined' error.
keys=make.list(0, trans_keys, accounts_file, dict_file)All the variables are defined.
@RECCOUNT contains the correct number of keys.
The variable 'KEYS' contain 0 (zero).
Is there a reason why MAKE.LIST fails.
Or is there an easier method to select a groups of keys
then display the records in a popup?
At 02 NOV 1997 08:53PM Andrew P McAuley wrote:
Jill
You've accidentally posted as VIP Specific - this could cause many of forum users to ignore your message.
The reason Make.List is failing is that is a subroutine not a function so it doesn't return a value (VNAV) - hust call it as a subroutine.
Regards
amcauley@sprezzatura.com
World Leaders in all things RevSoft (Except VIP)
At 03 NOV 1997 03:14AM Jill wrote:
Thanks, I will try that. The Help implies it is
a function. Logically it makes more sense to be a
function rather than a subroutine.