Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Queries deliver data for subsequent querie on same form

Discussion in 'Information Technology' started by Danny, Nov 11, 2005.

  1. Danny

    Danny
    Expand Collapse
    Guest

    I want to select values from a combo box which gets populated from a
    querie. The selected data item from the combo box must be an input to
    another querie which populates subsequent text boxes on the same form.

    I cant get this to work, can it work?
    Thank you.
     
  2. Loading...

    Similar Threads Forum Date
    Importance of Hukamnama - Some Queries Sikh Sikhi Sikhism Jun 14, 2009
    Queries History of Sikhism Oct 26, 2006
    Sikh News California Lawyer To Deliver Sikh Prayer At GOP Convention Breaking News Jul 20, 2016
    Sikh doctors in UK deliver 10,000 free health checks Health & Nutrition May 2, 2015
    Movies Ashdoc's movie review---Deliver us from evil Theatre, Movies & Cinema Sep 29, 2014

  3. schasteen

    schasteen
    Expand Collapse
    Guest

    Put docmd.requery in the after update event of the combo box.

    "Danny" wrote:

    > I want to select values from a combo box which gets populated from a
    > querie. The selected data item from the combo box must be an input to
    > another querie which populates subsequent text boxes on the same form.
    >
    > I cant get this to work, can it work?
    > Thank you.
    >
    >
     
  4. Pieter Wijnen

    Pieter Wijnen
    Expand Collapse
    Guest

    Avoid using DoCmd when possible!

    Me.Requery (in code)
    Me.dirty = False (instead of DoCmd.SaveRecord) to name a few

    As this gives you the oppurtinity for error handling

    Pieter


    "schasteen" <schasteen@discussions.microsoft.com> wrote in message
    news:4D906417-15E1-4E81-8B56-69FF9C2CBA00@microsoft.com...
    > Put docmd.requery in the after update event of the combo box.
    >
    > "Danny" wrote:
    >
    >> I want to select values from a combo box which gets populated from a
    >> querie. The selected data item from the combo box must be an input to
    >> another querie which populates subsequent text boxes on the same form.
    >>
    >> I cant get this to work, can it work?
    >> Thank you.
    >>
    >>
     
  5. Danny

    Danny
    Expand Collapse
    Guest

    Thank you, I did put a docm.requery, no success. Any further ideas?
     
  6. schasteen

    schasteen
    Expand Collapse
    Guest

    In the second query do you have the criteria set on the proper column to the
    control of the form? Is the combo box unbound? Can you please give some
    more details.
    Thanks


    "Danny" wrote:

    > Thank you, I did put a docm.requery, no success. Any further ideas?
    >
    >
     

Share This Page