FIELDTEXT mystery

Ronald W. Olenic olenicr@dteenergy.com
Tue, 21 Sep 1999 09:02:03 -0400


This is a multi-part message in MIME format.
--------------312ACB550FBBF2D79532BBBA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Nick.

When you are in the input or edit procedure, anything you display will
overwrite the fieldtext buffer.  Use the procedure process and it will
work like a charm.

Nick Tippler wrote:
> 
> Afternoon All
> 
> I have a procedure which tests the value of FIELDTEXT for one field, and
> changes the contents of a second field, based on the given value.
> However, somewhere after EDIT and before OUTPUT, the FIELDTEXT for the
> first field assumes the ASCII(value) of the second field:
> 
> PROCEDURE EDIT     FIELD_1
> BEGIN
>     IF         FIELDTEXT = "E"
>           THEN LET FIELD_2 = 2
>        ELSE IF FIELDTEXT = "O"
>           THEN LET FIELD_2 = 1
>        ELSE IF FIELDTEXT = "C"
>           THEN LET FIELD_2 = 6
>    DISPLAY FIELD_2
> END
> 
> Any idea how I can stop this?
> 
> Regards
> 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +
> + Nick Tippler                                  nt204@cam.ac.uk
> + Registrar, Faculty of Education,          tel +44 1223 507145
> +            University of Cambridge,       fax +44 1223 507140
> +            Homerton College,
> +            Cambridge CB2 2PH
> +
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> 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.
--------------312ACB550FBBF2D79532BBBA
Content-Type: text/x-vcard; charset=us-ascii;
 name="olenicr.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ronald W. Olenic
Content-Disposition: attachment;
 filename="olenicr.vcf"

begin:vcard 
n:Olenic;Ronald
x-mozilla-html:TRUE
org:Compuware
adr:;;;;;;
version:2.1
email;internet:ronolenic@bigfoot.com
title:Senior Systems Analyst
note;quoted-printable:The opinions expressed are my own, and as such are subject to change or  even complete reversal without notice=0D=0A
fn:Ronald Olenic
end:vcard

--------------312ACB550FBBF2D79532BBBA--

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.