Lensmeister
Registered User.
- Local time
- Today, 20:02
- Joined
- Feb 18, 2009
- Messages
- 65
Hi,
Having taken a break from playing with a project I have come back to it and one of the original stumbling block has come back to haunt me.
I have searched through and although there are some posts on Football databases this question doesn't appear to be in them.
I have a Access 2003 database and in it I have a table (tbl_Players) and a table (tbl_1stXI).
tbl_1stXI has the fields ID, P1 thru to P20. ID is an auto number primary key that links other tables (Scorers and matches) together through relationships.
In players I would like to have another field that calculates the number of time a name i.e. David appear in the table tbl_1stXI.
In Excel the countif function does this perfectly but can it be done in Access and if so how? I have tried to google and search other forums etc. but nothing like this comes up.
I am going to build a VB6 front end on to this database to make it easier to use eventually, but I am stuck with this counting of players names bit.
I can provide a sample mdb if you require.
Thanks in advance.
Having taken a break from playing with a project I have come back to it and one of the original stumbling block has come back to haunt me.
I have searched through and although there are some posts on Football databases this question doesn't appear to be in them.
I have a Access 2003 database and in it I have a table (tbl_Players) and a table (tbl_1stXI).
tbl_1stXI has the fields ID, P1 thru to P20. ID is an auto number primary key that links other tables (Scorers and matches) together through relationships.
In players I would like to have another field that calculates the number of time a name i.e. David appear in the table tbl_1stXI.
In Excel the countif function does this perfectly but can it be done in Access and if so how? I have tried to google and search other forums etc. but nothing like this comes up.
I am going to build a VB6 front end on to this database to make it easier to use eventually, but I am stuck with this counting of players names bit.

I can provide a sample mdb if you require.
Thanks in advance.