Date: Sat, 8 Jun 2002 01:31:26 +1000
Reply-To: Doug <dougie_cam@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Doug <dougie_cam@HOTMAIL.COM>
Subject: Help with list in SCL please
I have a frame that contains 2 list view controls.
The first of these is populated by a SCL list called loc1.
Loc1 contains items such as electorate, SLA, State etc.
Based on the choice that a person makes from the list in loc1,
I would like to populate the second list view control sel1 with
values that they can chose from. These values will feed into some
procs that get submitted later. I have cut a piece of my code
below to give you an idea of what I am trying to do.
I dynamically wish to populate the second control with a list
depending on what was selected in the first. There are 8
choices in the first control and 8 possible lists in the second
Loc1._addColumn (1,'Type of analysis');
Loc1.items = locdata;
if loc1.selecteditem='Electorate' then
Sel1.items = elect;
if loc1.selecteditem='LGA' then
Sel1.items = sla96;
Any advice on how to get this to work is appreciated.