K
Kat Q.
I am attempting to track contacts in a database. I have multiple fields for
the same type of contact. For example, I have C1Type, C2Type, C3Type, etc, up
to say 80 fields. The "Type" fields have a drop down where you can pick the
type of contact, such as "Family", "Individual", or "Group".
I need to have a field on my form that counts the "Type" fields (C1Type all
the way through C80Type). I'll have a separate field that counts how many
times "Family" is selected, how many times "Individual" is selected, and so
forth.
I know how to do this in Excel, but can't figure it out in Access. I know
the code that will found the field and add it up, but the code I'm using, I'd
have to put all the CxType fields in indidually, and that makes the code too
long. Is there an easier way to make it count certain fields (like using a
wild card?)?
Also, I actually have to go up to 150, and therefore need to separate my
contacts into 2 tables. Can you count across different tables, or would I be
better off counting on each table, and then having a separate table add those
2 things together?
Thanks to anyone who can assist... I have a relative knowledge of Access,
but by no means do I understand all of the coding. Thank you,
the same type of contact. For example, I have C1Type, C2Type, C3Type, etc, up
to say 80 fields. The "Type" fields have a drop down where you can pick the
type of contact, such as "Family", "Individual", or "Group".
I need to have a field on my form that counts the "Type" fields (C1Type all
the way through C80Type). I'll have a separate field that counts how many
times "Family" is selected, how many times "Individual" is selected, and so
forth.
I know how to do this in Excel, but can't figure it out in Access. I know
the code that will found the field and add it up, but the code I'm using, I'd
have to put all the CxType fields in indidually, and that makes the code too
long. Is there an easier way to make it count certain fields (like using a
wild card?)?
Also, I actually have to go up to 150, and therefore need to separate my
contacts into 2 tables. Can you count across different tables, or would I be
better off counting on each table, and then having a separate table add those
2 things together?
Thanks to anyone who can assist... I have a relative knowledge of Access,
but by no means do I understand all of the coding. Thank you,