Stuck in Selectbox

Knox, Dave (Dallas, CSC) KnoxDa01@unisourcelink.com
Thu, 17 Jan 2002 10:38:28 -0500


Add a first value of <null>.

Would resolve your problem as they could just hit return (after having encountered an error in edit), null input will then skip the edit and exit. Downside that it doesn't go straight back - but better than getting stuck.

I often use it to ensure the field retains the existing value rather than defaulting back to the first value if the user inadvertantly hits return...hence "nochange" caption...

field xxx.....&
      values "" caption "Nochange", &
		 "Y" caption "pick Y", &
             "N" caption "pick N", etc.etc.
      selectbox on data

Regards
Dave

-----Original Message-----
From: stewm@canada.com [mailto:stewm@canada.com]
Sent: Thursday, January 17, 2002 9:20 AM
To: powerh-l@lists.swau.edu
Subject: Stuck in Selectbox



I wrote several screens that are checked for accurrancy and then prepared if everything is Ok.  When the prepared flag is 'Y' I don't let the users into many fields...I lock them out.  And give an error message in a interal procedure common to all edit procedures on the screen.  Works great.  However a there are a couple of fields with selectboxes.  When the error message apprears I get stuck in the selectbox and have to kill your whole session.  You'd think there would be more smooth way of getting out.  I ended up coding the prepared flag check prior to an accept verb for the field in a designer for it's screen id.  I'm a little annoyed that I had to code it that way and that I was forced to logout.  Is there a way not to get stuck in selectboxes when an error is given.  PowerHouse should be smart enough to realize this predicament and return you to the action field you'd think.  Just a quick gripe, got to get back to work now.
PH 8.13D HP-UX.

Mark Stewart
Consultants Club Corp.
Windsor, Ontario

Consultants Club Corp.
__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.