Re: effect of trigger in Access?



You can do what you are asking with Access but you can't use a trigger. You
need to use a form or control event. Depending on your actual requirements
one of the following four events will work for you:
1. Form's AfterUpdate event
2. Form's BeforeUpdate event
3. Control's AfterUpdate event
4. Control's BeforeUpdate event

The Change event of a control is inappropriate for this task since it runs
for EVERY character typed in the field. So if your field has 5 characters,
the change event will run 5 times whereas the before and after update events
run only once per change.

"Kevin" <kevind@xxxxxxxxx> wrote in message
news:43c89768$0$58052$742ec2ed@xxxxxxxxxxxxxxxxx
> With Access 2000 or 2003, is there a trigger or onChanged method? I
> would like to be able to do a mailto if certain fields change in my db.
>
> Thanx.


.



Relevant Pages

  • Re: Stack over flow?
    ... Change event in this case) would go in a queue waiting to be actioned ... a queue until my current code block finished executing. ... process the next message and trigger the text box change event. ... in a call from the master window proc that responded to that mouse message. ...
    (comp.lang.basic.visual.misc)
  • RE: Worksheet_Change event not running from Form control.
    ... similar to a calculation and a calculation will not trigger the change event. ... "Brad E." ... running a macro for the click of the radio button. ...
    (microsoft.public.excel.programming)
  • RE: Worksheet_Change event not running from Form control.
    ... similar to a calculation and a calculation will not trigger the change event. ... "Brad E." ... controls (with cell link) not running the Worksheet_Change event. ...
    (microsoft.public.excel.programming)
  • Re: Detect when a Cell value has changed. Working too well :-(
    ... When any cell on the sheet is changed it takes on the value Changed. ... The selection change event triggers everytime a new cellis selected on the sheet. ... This would fire the selectionchange event which would change the value of K1 to Default. ... The act of changing that value would trigger the change event which in turn would change the value of K1 back to "Changed". ...
    (microsoft.public.excel.programming)
  • Re: Run a macro based on event
    ... Linking cells will trigger the calculate event, not the change event. ... DDE will trigger the change event in Excel 2000 and later to the best of my ...
    (microsoft.public.excel.programming)