I basically have 2 questions, First question is can Dcount work based on a query as opposed to a table and then if it can work on a query could someone let me know why my following dcount code is not working or if i am just being a little simple, Basically i am trying to do a count based on a selection from a combo box on a form with the results populating a text box
=DCount("[Premise]","[D - QrySelect100]","[Name 1/Last Name]=[Combo0]")
=DCount("[Premise]","[D - QrySelect100]","[Name 1/Last Name]=[Combo0]")