Re: [U2] -UNIBASIC - MULTIPLE SAVEDLIST

2004-08-05 Thread Glenn Herbert
Replace the first GETLIST ... SETTING with EXECUTE GET.LIST name SETTING X.CTR RTNLIST MAINLIST CAPTURING JUNK IF X.CTR THEN and change its READNEXT to READNEXT X.ID FROM MAINLIST THEN You can leave the secondary GETLIST /READNEXT alone. At 12:52 PM 8/5/2004, you wrote: We are writing unibasic

RE: [U2] -UNIBASIC - MULTIPLE SAVEDLIST

2004-08-05 Thread Grant.Boice
Barbara, Here are a couple things you can do... First, in your GETLIST command, add the TO in your command. For example, GETLIST SL.HRPER.PLINK TO 1 SETTING X.CTR THEN , where 1 is a list number. Then, in the corresponding READNEXT statement, add FROM. For example, READNEXT X.ID

RE: [U2] -UNIBASIC - MULTIPLE SAVEDLIST

2004-08-05 Thread Kevin King
Is there anyway to have two or more active savedlist at any one time keeping the readnext pointers in sync? $BASICTYPE U (Unidata) will allow you to have multiple active (numbered) saved lists. READNEXT variable FROM listnumber { THEN | ELSE } ... -Kevin [EMAIL PROTECTED]

RE: [U2] -UNIBASIC - MULTIPLE SAVEDLIST

2004-08-05 Thread Grant.Boice
Thanks, Kevin! I completely forgot about this! Grant -Original Message- From: Kevin King [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 1:43 PM To: [EMAIL PROTECTED] Subject: RE: [U2] -UNIBASIC - MULTIPLE SAVEDLIST Is there anyway to have two or more active savedlist