Date: Thu, 25 Oct 2001 23:03:17 -0400
Reply-To: Richard DeVenezia <radevenz@IX.NETCOM.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Richard DeVenezia <radevenz@IX.NETCOM.COM>
Organization: MindSpring Enterprises
Subject: Re: Text Entry Control in SAS/AF V8.2 (Data Form)
I don't see this 'problem' occurring.
You drop a Form Viewer Control into the build frame and then a SAS Data Set
Model on that.
Set the data set model .table attribute to the name of your data set, which
in turn causes the form viewer to create label and input controls for each
column of the table.
What kind of controls are being made for you ? My system defaults to Text
Label Control and Text Entry Controls. You should have Text Label Controls
DF0--DF(N-1) where N is the number of columns in the table. There should
also be Text Entry Controls with the same name as the table column names.
A Text Entry Control should scroll the displayed value as the cursor moves
against the control boundary.
Are you using the dataForm attribute of the SAS Data Set model ? If so,
this would most likely impact the class (and settings thereof) used to
represent the table columns in the data form.
Richard DeVenezia - SAS Macros and AF Tools
"Deborah Testa" <firstname.lastname@example.org> wrote in message
> My data set variable is $100., but there isn't room on the screen to
> all 100 characters. Is there a way to represent the variable with 20
> characters on the screen, and have the text scroll horizontally as the
> types or arrows past the 20th character? Do I have to remove the default
> widget created by the SAS Data Set model, or do I just modify the default
> one? I tried modifying the format in the SAS Data Set model, but that
> actually truncated the value.