[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== Make List (ViP Specific) ==== === At 02 NOV 1997 01:52:53AM Jill wrote: === {{tag>"ViP Specific"}} 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 [b]not[/b] a function so it doesn't return a value (VNAV) - hust call it as a subroutine. Regards amcauley@sprezzatura.com [url=http://www.sprezzatura.com]Sprezzatura Ltd[/url] World Leaders in all things RevSoft (Except VIP) [img]http://www.sprezzatura.com/zz.gif[/img] ---- === 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. [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=3444025B9ADDE024852565430025CD50|View this thread on the forum...]]