For example, in the properties window for the Priority 1 textbox, type ‘tbPriority1’ for the Name property.

Another alternative to this? Have 10 different select count(*) SQL statements for each priority and simply assign the value of each count to each of the ten textboxes. As you can see, the above method is more efficient.