BWZ on character field - Supposed to work this way?

Terry A. Pickering pickering@myself.com
Wed, 01 Apr 1998 12:36:05


I have the following element defined in a file:


    Element:            PO-NUM
    Type:               Character
    Size:               10
    Item Defaults:      CHARACTER Size 10


Here is the code for a sample quick screen using that field. Note the BWZ
is commented out.

SCREEN GLS_EXE:DEMO1
FILE GLS-INVOICE-MSTR-PEND
FIELD PO-NUM OF GLS-INVOICE-MSTR-PEND       ;BWZ
PROCEDURE PROCESS PO-NUM
BEGIN
  INFO = "PO-NUM:" + PO-NUM NOW RESPONSE
END


When the screen is run and you enter in a value of "700001", you get the
following "info" displayed:

	PO-NUM:700001

If you put a BWZ on the FIELD statement and run it again using the same
input data, the "info" displayed is:

	PO-NUM:0000700001

The manual says "You can use BWZ option for non-numeric fields. In such
cases, QUICK treats the field as a numeric field and applies numeric edits". 

Does this imply it actually changes the field values in the buffers? It
appears to from what I can see. I would have expected it to only apply
"numeric edits", not actually change the values. Which then brings up the
case, is it stored in FIELDTEXT or FIELDVALUE?

This is running on Alpha, Powerhouse 710.F3

Terry Pickering				CompuGroup, Inc.
pickering@myself.com				Portland, Oregon USA
www.teleport.com/~compugrp			Cessna 172 & Lancair ES

                           __!__          

               _______(*)_______    

                          !   !   !        


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.