Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    May 2003
    Location
    Manchester, Gtr Manchester, England
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts

    function in a textbox (2000)

    I have an unbound text that currently has this dcount function in it : =DCount("[query type]","qryResults","[query type] = 3"). I wish to include a further condition into the function, i.e. =DCount("[contact]","qryResults","[contact] = 2") within, so ineffect an 'and' clause. How may I do this?

    Thanks Darren.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: function in a textbox (2000)

    Try

    =DCount("*", "qryResults", "[Query Type] = 3 And [Contact] = 2")

  3. #3
    4 Star Lounger
    Join Date
    May 2003
    Location
    Manchester, Gtr Manchester, England
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: function in a textbox (2000)

    Thank you Hans, that's splendid.

    D

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •