Help! How do I adding a Counter Field to a SubForm?

K

KmhComputer

Please help. I have a Main Form with a Subform. The Main Form contain my
main table data and the Subform contains the Detail Data and the number of
records in this table can vary from 0 to 40. The Main Form is linked to the
SubForm by a CoverID. My client has decided he wants a record counter added
to the SubForm page as such. How can I code in a record counter like below
without actually having to store this information in my Details table?

RecordCount Code Detail1 Detail2 etc.
1 AA1 Blaa Blaa
2 AB2 Blaa Blaa
3 CC1 Blaa Blaa

If there are no sub records associated the main record, the first record in
this
subform is full of zeros and blanks.

Thanks for any help you can give.
 
K

KmhComputer

Thank you so much!!! Works very well! I appreciate it. Sometimes Microsoft
makes it very difficult to track down information on how to do certain
things. I don't know how I missed this one in the documentation. But thank
you so much!

Kathy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top