Cancel record

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    Cancel record

    Hi

    How can I cancel the current record changes (add/edit) via code?

    Thanks

    Regards


  • Salad

    #2
    Re: Cancel record

    John wrote:
    [color=blue]
    > Hi
    >
    > How can I cancel the current record changes (add/edit) via code?
    >
    > Thanks
    >
    > Regards
    >
    >[/color]
    In the BeforeUpdate event
    Me.Undo
    Cancel = True

    Comment

    Working...