Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Jun 2001
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts

    AddNew method (97)

    AddNew method
    Am I correct in understanding that if a user clicks the add new record button on my form, the best way to provide a message box on this single event is through the addNew method? But which event would I place such code, maybe in onCurrent? Recordsets and modifying them is a new thing to me. Please advise.

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: AddNew method (97)

    You can use the On Before Insert, but the event will not trigger before you type something.
    You can use the On Current end add the condition If Me.NewRecord = True Then ...
    I don't understand why you should use the AddNew method as the record will be added with the AddNew Button.
    Francois

  3. #3
    4 Star Lounger
    Join Date
    Jun 2001
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: AddNew method (97)

    Well, yes, thanks for clearing that up. Like I said I

Posting Permissions

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