M
molsonexpert
OK, this should be easy, but here goes:
I have an Access 2002 application with a link to a SQL 2000 table. I've
created a query based on the table, and created a continuous form based on
the query. What is the best way to count the number of records returned? On
the form, I've added a text box with =count(NameID) as the control source in
the form footer, and this actually works, unless no records exist, in which
case the text box is blank (I'm hoping it will be 0). I ultimately want to
display a message box, the content of which will depend on the value in this
text box.
tia.
I have an Access 2002 application with a link to a SQL 2000 table. I've
created a query based on the table, and created a continuous form based on
the query. What is the best way to count the number of records returned? On
the form, I've added a text box with =count(NameID) as the control source in
the form footer, and this actually works, unless no records exist, in which
case the text box is blank (I'm hoping it will be 0). I ultimately want to
display a message box, the content of which will depend on the value in this
text box.
tia.