Re: Overriding derived values



On 29 Nov 2005 12:47:16 -0800, dawn wrote:

(snip)
>Other than the use of the numerical codes (why not text codes?) I agree
>with your redesign. One question -- does the owner of the system ever
>want the discount to be overridden for more than a month? For example,
>in your scenario where someone has stolen, it seems like there should
>be a DENY code on this bowler indefinitely -- until it is changed.
>There is no reason to set this each month and plenty of reason not to
>introduce a possible failure by insisting it be set each month.

Hi Dawn,

Good point.

I'd favor a design with override code, override start date and override
end date. That makes it easy to enter a 6-month denial after stealing or
a 4-month guaranteed discount for winning a match against the competing
bowling club from the other side of the street.

For indefinite bans or discounts, set end date to either NULL or to a
silly date in the distant future, like 9999-12-31.

Best, Hugo
--

(Remove _NO_ and _SPAM_ to get my e-mail address)
.



Relevant Pages

  • Re: Lathe door interlock
    ... I know several different codes and would NOT give ... The Lock on this Machine is a Mechanical Lock, ... to have access to the 1 Event Software override ... the door interlocks. ...
    (alt.machines.cnc)
  • Re: AspectJ modify property field content or add and/or change method body in a runtime instance
    ... AspectJ in compile time. ... extend and/or override _some_ of the codes. ... private/package-private class/method I need to override. ...
    (comp.lang.java.programmer)
  • Re: AspectJ modify property field content or add and/or change method body in a runtime instance
    ... I like to modify the data member and/or method body of a class with ... The source codes came from a non-obfuscated jar which allow me to ... private/package-private class/method I need to override. ... How can I do this AspectJ? ...
    (comp.lang.java.programmer)
  • Re: POS Printer
    ... printer These special codes are non-printable ... characters ... I see no reason to be concerned with it at all. ... I know that a POS printer has an internal buffer so just because we send ...
    (microsoft.public.vc.mfc)
  • Re: Problem printing
    ... It's a long time since I used printer control codes and with my old fading memory I can't at the moment check whether or not you are sending valid codes. ... In the meantime is there a specific reason why you are printing this way instead of simply using the VB printer object? ... Presumably you are using a printer that will actually work as a simple line printer in the old "raw ascii data" mode, but even if you are you need to be aware of the fact that printing code written in this fashion is likely to cease to work if you for any reason change to a different printer. ...
    (microsoft.public.vb.general.discussion)