(no subject)
Jeff Hoffman
wonicon@optushome.com.au
Fri, 22 Nov 2002 07:27:47 +1100
Just to be on the safe side
IF ALTEREDRECORD OF payroll AND
NOT DELETEDRECORD OF payrol
THEN DO INTERNAL recalc
At 10:58 AM 21-11-02 -0800, you wrote:
>Try this in the SILENT field's EDIT procedure, -
>IF ALTEREDRECORD OF payroll
>THEN DO INTERNAL recalc
>
>-----Original Message-----
>From: David Morrison - Corporate [mailto:dmorrison@mcbrideelectric.com]
>Sent: November 21, 2002 7:19 AM
>To: Chris Sharman; John Pearce; powerh-l@lists.swau.edu
>Subject: RE: (no subject)
>
>
>John,
>
>How about using a SILENT field, and doing the calculation in the EDIT
>procedure for that field?
>
>David Morrison
>McBride Electric
>
>-----Original Message-----
>From: Chris Sharman [mailto:chris.sharman@ccagroup.co.uk]
>Sent: Thursday, November 21, 2002 1:26 AM
>To: John Pearce; powerh-l@lists.swau.edu
>Subject: RE: (no subject)
>
>
>
>> There's a "what if" Quick screen in the payroll system that I've
>> been asked
>> to change so it automatically does a re-calculate whenever any of the
>> fields is changed. At the moment, the user enters TAX to cause the
>> re-calculation. There are about 18 fields that the user can change --
>> exemptions, marital status, deductions, etc.
>>
>> Is there a better solution to have the re-calculation occur automatically
>> than writing eighteen sets of "Procedure Output <fieldnane> Do ReCalc"?
>
>I'd put that kind of functionality in the process procedure, rather than
>output: it's something you want to do on completing field changes, not on
>display.
>If you put it in output, you're in an infinitely recursive loop, aren't you
>?
>Your recalculation will presumably do a number of displays to show results,
>invoking a number of output procedures ...
>
>Presumably "TAX" invokes a designer procedure ?
>How about binding a keystroke to the procedure, so that they can use that
>instead of going back to the action prompt and entering TAX<return> ?
>Otherwise I don't think there's any way to avoid having one trigger
>procedure per field. On the other hand, it's not that onerous:
>
>procedure process NAME
> begin
> do internal recalc
> end
>
>Regards,
>Chris Sharman
>
>
>
>-----------------------------------------------------------------------
>
>Any views expressed in this message are those of the sender and not
>necessarily those of CCA Group. The unauthorized use, disclosure,
>copying or alteration of this message is forbidden. The contents of
>this message may be confidential and/or privileged, copyright CCA Group
>and are intended solely for the use of the individual or entity to whom
>they are addressed. Whilst this message has been scanned, CCA Group
>cannot guarantee that it is virus free or compatible with your systems
>and accepts no responsibility for any loss or damage arising from its
>use. The recipient is advised to run their own anti-virus software. If
>you receive this message in error please contact
>postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
>from your computer systems.
>
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>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.
>
>
>_________________________________________________
>Scanned for viruses on 21 Nov 2002 02:25:44
>No viruses found.
>Virus scanning by http://erado.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.
>
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>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.
>
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+ Jeff Hoffman + e-mail: wonicon@optushome.com.au +
+ Director + +
+ WoniCon Pty Ltd (ABN 93 083 502 630)+ ,-_|\ +
+ 21 Prices Circuit + voice: +61 2 9542 1527 / \ +
+ Woronora NSW 2232 + \_,-._* +
+ AUSTRALIA + mobile: 040 790 3929 v +
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
+