Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Posts
    254
    Thanks
    0
    Thanked 0 Times in 0 Posts

    New Record in a Subform

    New Record in the subform

    I have a main form called ForderInformation and a subform called ForderDetailsextended. Thee linked fields are orderird in the main form and in the subform.
    The productid in the subform is a combo box from where I can choose the products from a dropdown list.The after date event is the following
    DoCmd.GoToControl "productid"
    DoCmd.GoToRecord , , acNext
    However it woirks only the first time, when I choose the first product.If I choose a second product I do not go to a new record but I stick to the previous one.
    Can somebody show me where my mistake lie?

  2. #2
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Tennessee
    Posts
    194
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: New Record in a Subform

    have you tried requery
    me.requery
    at the end of the code

Posting Permissions

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