Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jan 2002
    Location
    Brugge, Belgium
    Posts
    144
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unique key (MS ACCESS 2007)

    In my multiuser database, when a new client is entered, the client has to get a unique clientnumber.
    Therefore i have the neccesary code to get this unique key, but i'm not sure in what event do i have to place this code:

    a) Before-Update
    Before Insert

  2. #2
    Platinum Lounger
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    4,594
    Thanks
    0
    Thanked 27 Times in 27 Posts

    Re: Unique key (MS ACCESS 2007)

    I would tend to put it in the Form_BeforeUpdate event.

    It doesn't matter though, you could do either.

  3. #3
    2 Star Lounger
    Join Date
    Jan 2002
    Location
    Brugge, Belgium
    Posts
    144
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Unique key (MS ACCESS 2007)

    I like to thank you for the advice !
    greetings from belgium

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •