Question : Making Access count the number of fields filled in.

    Ive attached the database that Im referring to (otherwise theres no way youll understand what Im talking about). In there is a form called 2009 Docket Entry. On the right side is a sub-forms. The sub-form has 8 tabs. Most of the time, on each record, we only need to fill out the first tab. But sometimes we have to fill out some of the other tabs.
     Suppose theres one record where we filled out 5 tabs, later theres another record where we filled out 3 tabs, etc. At first glance, on each record we cant tell how many tabs are filled in and how many are blank. We would have to click each tab (on each record) to find out. What a pain. Hence, I inserted a field named C# above the sub-form. Now we manually type a number in there so that we can tell, at a glance, how many tabs are filled in (for example, if on one record we have just I tab filled in, somebody has to enter 1 in the C# field. If on another record we have 4 tabs filled in, somebody has to enter 4 in the C# field, etc.).
     Here is my question: can we have Access fill in the C# field for us? Ive been trying to figure out by what method I can achieve this. Maybe I can program the C1 Name field? Its the top left field of the sub-form. (So, for example, on one record, if we have 5 tabs filled in for the top sub-form, can we have Access say on this record, the C1 Name field is filled in for the first 5 tabs, so Ill automatically enter 5 in the C# text box. Then on the next record, have Access say the CI Name field is only filled in for the first tab, so Ill automatically enter 1 in the C# text box, etc.).
     Or, if theres a better way to achieve this, Im open to it too.

Answer : Making Access count the number of fields filled in.

test this

 
xx
 
Random Solutions  
 
programming4us programming4us