Re: Clearing character screen fields
Posted in 1992
In article <1992Apr30.160319.8474@nas.nasa.gov> jcarter@sun419.nas.nasa.gov (John R. Carter Sr.) writes: >In article <8828@emory.mathcs.emory.edu>, dave.snyder@snide.com (Dave Snyder) writes: >|> Quoting John Bossert... >|> -> >|> -> Is there a way to clear *character* screen fields upon input? >|> -> >|> -> I have a field containing [XX]. I type "S" and see [SX]. I want >|> -> to see [S ]. Is there a built-in to do this (attribute?) in the form >|> -> or is there some 4GL construct I could use? >|> >|> In the field containing [XX] type: >|> "S<CTRL-D>" >|> > Much text deleted... > >By the way, another obvious solution to this problem is: > >"<CTRL-D>S..." > Folks, I *know* of the following methods of accomplishing my task: 1) <ctrl-d>S 2) S<ctrl-d> 3) S<space> *NOT!* This particular field exists on a very high volume (1000+ per day) data entry screen. The *clerical* people don't want to type 2 characters iff they don't need to - there are some 2 character codes - they want the field to blank out when they start typing into it... And why not? Their VAX ---11/750--- running VMS (and custom screen handler) will let them do it... :-( :-( Basically, I'm looking for a way to have a character field act like a numerical field *on input*. Is there such a way (or hack, I'm not proud). And no, I don't want to clear the field a la CLEAR FIELD... Thanks in advance... -- In-Real-Life: John Bossert, Thalatta Corporation, (+1 206.455.9838) Domain: bossert@Thalatta.COM Path: ...!sun!sunup!thebes!bossert