• search form help (97)

    Author
    Topic
    #358733

    I created a form with an unbound text field, txtRefNum. This form is bound to a query whose criteria for RefNum is txtRefNum. I didn

    Viewing 1 reply thread
    Author
    Replies
    • #535917

      This is smart way to handle your forms. All you need to do to make it work, however, is to fully qualify the control location. That is:

      Forms!youformname!txtRefNum

      • #535940

        You also need to requery the form in order to populate it with the current query results.

        • #535959

          Good catch. I completely missed the statement that there was no code in AfterUpdate.

    • #535958

      And as Charlotte caught (and I had missed), you need to put a Me.Requery in your AfterUpdate event for txtRefnum.

    Viewing 1 reply thread
    Reply To: search form help (97)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: