Displaying the 'current processing mode' in Quick screens

Knox, Dave (Dallas, TX) knoxda01@unisourcelink.com
Fri, 8 Sep 2000 09:53:44 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0199C.1E1D0FAC
Content-Type: text/plain;
	charset="iso-8859-1"

Robert

It sounds more to me like you need something like this...

;(STATUS is a one byte field - increased to 8 for display purposes)...

field STATUS of EMPLOYEES id 07 label "Status" UPSHIFT size 8   &
                default "A"                                          &
             values ""  caption "NoChange",                          &
                    "A" caption "Active",                            &
                    "I" caption "Inactive",                          &
                    "O" caption "Out"                                &
             selectbox from 13,10 to 18,19 on data

;Note...the "nochange" value is a null, allowing you to skip input,
;and retain the existing value rather than defaulting to the first
;one every time you access this field.

;Then to ensure the final display is right...

procedure output STATUS of EMPLOYEES
begin
     if fieldtext = "A"
        then let fieldtext = "Active"
     if fieldtext = "I"
        then let fieldtext = "Inactive"
     if fieldtext = "O"
        then let fieldtext = "Out"
end


-----Original Message-----
From: Robert Mills [mailto:robert.mills@windsong-services.co.uk]
Sent: Friday, September 08, 2000 5:35 AM
To: 'PowerHouse ListServer'
Subject: Displaying the 'current processing mode' in Quick screens


Hi fellow listers,

Has anybody out there used the CHANGEMODE/CORRECTMODE/ENTRYMODE/FINDMODE
conditions to control the value of a string that is displayed on the screen.
I'm trying to replace the single character mode field with a text string
that is more meaningful to our users. We have a large turnover of
temporary/casual staff and some of them are a bit short on ... well you know
what I mean ;)

regards,

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Robert W.Mills (Senior Analyst/Programmer) |    >>>> Please Note <<<<    |
|Windsong Services, St. Mary Cray, ENGLAND  |The opinions expressed above |
|Tel  : +44 (0)1689 870622 x3005            |are my very own and NOT those|
|Fax  : +44 (0)1689 899026                  |of my employer. They are thus|
|Email: Robert.Mills@windsong-services.co.uk|subject to change or complete|
|URL  : www.windsong.co.uk                  |reversal without any notice. |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.

------_=_NextPart_001_01C0199C.1E1D0FAC
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">



RE: Displaying the 'current processing mode' in Quick =
screens



Robert

It sounds more to me like you need something like = this...

;(STATUS is a one byte field - increased to 8 for = display purposes)...

field STATUS of EMPLOYEES id 07 label = "Status" UPSHIFT size 8   &
          &nb= sp;     default = "A"          = ;            = ;            = ;        &
          &nb= sp;  values ""  caption = "NoChange",        &nb= sp;           &nb= sp;     &
          &nb= sp;         "A" = caption = "Active",         = ;            = ;       &
          &nb= sp;         "I" = caption = "Inactive",        &nb= sp;           &nb= sp;     &
          &nb= sp;         "O" = caption = "Out"         &nb= sp;           &nb= sp;          &
          &nb= sp;  selectbox from 13,10 to 18,19 on data

;Note...the "nochange" value is a null, = allowing you to skip input,
;and retain the existing value rather than = defaulting to the first
;one every time you access this field.

;Then to ensure the final display is right...

procedure output STATUS of EMPLOYEES
begin
     if fieldtext =3D = "A"
        then let = fieldtext =3D "Active"
     if fieldtext =3D = "I"
        then let = fieldtext =3D "Inactive"
     if fieldtext =3D = "O"
        then let = fieldtext =3D "Out"
end


-----Original Message-----
From: Robert Mills [mailto:robert.mills= @windsong-services.co.uk]
Sent: Friday, September 08, 2000 5:35 AM
To: 'PowerHouse ListServer'
Subject: Displaying the 'current processing mode' in = Quick screens


Hi fellow listers,

Has anybody out there used the = CHANGEMODE/CORRECTMODE/ENTRYMODE/FINDMODE
conditions to control the value of a string that is = displayed on the screen.
I'm trying to replace the single character mode = field with a text string
that is more meaningful to our users. We have a = large turnover of
temporary/casual staff and some of them are a bit = short on ... well you know
what I mean ;)

regards,

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+= -+-+-+-+-+-+
|Robert W.Mills (Senior Analyst/Programmer) = |    >>>> Please Note = <<<<    |
|Windsong Services, St. Mary Cray, ENGLAND  = |The opinions expressed above |
|Tel  : +44 (0)1689 870622 = x3005            = |are my very own and NOT those|
|Fax  : +44 (0)1689 = 899026           =        |of my employer. They are = thus|
|Email: Robert.Mills@windsong-services.co.uk|subject = to change or complete|
|URL  : = www.windsong.co.uk         =          |reversal without any = notice. |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+= -+-+-+-+-+-+
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D = =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D = =3D =3D =3D =3D =3D =3D =3D
Subscribe: "subscribe powerh-l" in message = body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in = message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you = must be a subscriber.

------_=_NextPart_001_01C0199C.1E1D0FAC-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu This list is closed, thus to post to the list, you must be a subscriber.