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
     

Share This Page