Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

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. OP
    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. OP
    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. OP
    Danny

    Danny
    Expand Collapse
    Guest

    Thank you, I did put a docm.requery, no success. Any further ideas?
     
  6. OP
    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?
    >
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page