Date: Mon, 14 Aug 2000 14:03:15 -0400
Reply-To: "Bhat, Gajanan" <Gajanan.Bhat@PAREXEL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Bhat, Gajanan" <Gajanan.Bhat@PAREXEL.COM>
Subject: Re: AF Data Form Question -- Version 8
You have to create an object to write SCL codes for their properties. In
the following case, you should have a control named StudyDrug, be it data
form control or something else. When you have an object, you can assign
properties in any Frame SCL block.
Regarding your question about dataset variable and object and its
properties, the object here is Data form as you mentioned which you are
using to link data sets to view it. This will open the contents of the
datasets in the view control object. You can select columns by creating
another list box with all the variables and select from it. The section of
AF tool called Attribute Linking will help in answering many of your
From: Deborah Testa [mailto:dtesta@SEVENOFNINESYSTEMS.COM]
Sent: Monday, August 14, 2000 1:36 PM
Subject: AF Data Form Question -- Version 8
I have created a FRAME entry with a data form on it, and associated the data
form with a data set in the Object Attributes window. This causes one text
entry control object to be placed on the frame for each data set variable.
The control object has the same name as the variable.
When I try to address that object in the frame's SCL like this:
StudyDrug.textColor = 'blue';
I get the following message:
ERROR: [Line 21] The variable StudyDrug has not been declared as an object.
Am I doing something wrong? If it's a screen object, why should I have to
declare it? Then when I do declare is like this:
declare sashelp.classes.Textentry_c.class StudyDrug
I get different errors when I try to change the object's properties.
I guess my question is this: How do I address data set variables through a
data form object? Should I have to declare every data set variable as an
object? I know I can change the text color in one of the attribute windows,
but I want to do it programmatically based on the the value of other