understanding how define affects field initialized from temporary

Lorry Litman LLitman@exchange.hsc.mb.ca
Tue, 14 Dec 2004 14:35:35 -0600


This is a multi-part message in MIME format.

--=_Part_eea53932$3c27$450e$873b$06c4b3271058
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Thank-you John for your reply but I will have to respectfully disagree wi=
th
you on the define having no effect on emp_no being set to t_emp_no, becau=
se
it does, I do agree with you that it shouldn't. Its the why which is
baffling me. From the example that I provided I indicated that if the def=
ine
is not required to test for the value of the field emp_rpt_flag, emp_no i=
s
set fine, however, if the define is required to do the test of the value =
of
emp_rpt_flag, emp_no doesn't get set. I was also surprised that "IF
ENTRYMODE" on the item initial statement seems to work in entrymode (E in
the action field) but not in appendmode (A in the action field).

Anyway, I'm dropping this for now and will explore it later when I have m=
ore
time to dissect, isolate and test the different scenarios.

Thank-you again to all who replied, your replies did help.
This list is a great help.

Thanx
    Lorry

-----Original Message-----

This e-mail and/or any documents in this transmission is intended for the=
 address(s) only and may contain legally privileged or confidential infor=
mation. Any unauthorized use, disclosure, distribution, copying or dissem=
ination is strictly prohibited. If you receive this transmission in error=
, please notify the sender immediately and return the original.
--=_Part_eea53932$3c27$450e$873b$06c4b3271058
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit

From: Pickering, John (NORBORD) [mailto:John.Pickering@norbord.com]
Sent: Tuesday, December 14, 2004 12:13 PM
To: 'Lorry Litman'; PowerHouse listserver (E-mail)
Subject: RE: understanding how define affects field initialized from
MIME-Version: 1.0



Lorry

The define to complete the status text (es, o, nknown) will have NO effect
on the emp_no item regardless of mode or what you enter in the action field.

When you enter the screen for the first time and there are no records for
the passed index value then the define should be blank. When you enter the
screen with an index value for which there are records then the define
should display the correct value based on the value of your table item for
the records that exits and blanks for the missing rows. 

When you then use Append, the define will not get evaluated and displayed
until you pass by it in the entry sequence so it should be blank until you
go past it. It will then have a displayed value based on the then current
value of the record item.

I'm confused about your confusion.

Regards,
JWP

-----Original Message-----

--=_Part_eea53932$3c27$450e$873b$06c4b3271058
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit

From: Lorry Litman [mailto:LLitman@exchange.hsc.mb.ca]
Sent: Tuesday, December 14, 2004 11:44 AM
To: PowerHouse listserver (E-mail)
Subject: RE: understanding how define affects field initialized from
MIME-Version: 1.0



your replies have been helpful in making me explore/check some things that I
took for granted before, however, I'm not doing a good job of explaining the
problem and which part I'm trying to understand.
<confusion snipped>
--=_Part_eea53932$3c27$450e$873b$06c4b3271058--