dand_dd
06-18-2008, 01:21 AM
I have a form with a textbox and combobox. The COUNT function give incorrect number of records. I want to show into the textbox the number of products where Prio is null or Prio ="" for all TT(filter is not used) and when i use the filter i want to see the number of records without Prio for the respectively TT.
I have this query, but i don.t know how to implement to function automatic when i start tge form and when i use the combobox filter.
Thanks!
SELECT count(Teilenr)
FROM tblNAP
WHERE TT=tblNAP.Kombinationsfeld37 And (Prio Is Null Or Prio="");
I have this query, but i don.t know how to implement to function automatic when i start tge form and when i use the combobox filter.
Thanks!
SELECT count(Teilenr)
FROM tblNAP
WHERE TT=tblNAP.Kombinationsfeld37 And (Prio Is Null Or Prio="");