Welcome to SPN

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

Sign Up Now!

Using form values as criteria for query

Discussion in 'Information Technology' started by RichardT, Nov 8, 2005.

  1. RichardT

    RichardT
    Expand Collapse
    Guest

    I would like to run a query from a form where the query inherits the criteria
    on display on the form. eg, if I am looking at invoice #1 in the form, I can
    use a button to run a query which uses invoice # 1 as the query criteria.

    Does anybody have some code I can use for this?

    Thanks
     
  2. Loading...


  3. David Lloyd

    David Lloyd
    Expand Collapse
    Guest

    Richard:

    The following KB article may be a good reference, depending on your exact
    needs.

    http://support.microsoft.com/default.aspx?scid=kb;en-us;304428

    --
    David Lloyd
    MCSD .NET
    http://LemingtonConsulting.com

    This response is supplied "as is" without any representations or warranties.


    "RichardT" <RichardT@discussions.microsoft.com> wrote in message
    news:C2C76AF0-386B-4FB6-97E7-D8603A74AE8C@microsoft.com...
    I would like to run a query from a form where the query inherits the
    criteria
    on display on the form. eg, if I am looking at invoice #1 in the form, I
    can
    use a button to run a query which uses invoice # 1 as the query criteria.

    Does anybody have some code I can use for this?

    Thanks
     
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