A
Annie
Hi. I'm using a switchboard that has statistics on it (how
many members...). Since the statistics are on the main
switchboard they show up on all of the switchboard, but
don't seem to update the counts until I navigate back to
the main switchboard. I beleive that I can't just have
these statistics appear only on the main switchboard.
So, how can I get the statistics to be updated after the
members get updated? Would the code go on the Members
form, the CountOfMembers form or the switchboard form?
And which event would I attach it to? It's a little
strange in that the "count" form appears on the
switchboard form but counts the member form. Thanks, Annie
Here's the "count" sql:
SELECT Count(Contacts.Member) AS CountOfMembers
FROM (Contacts INNER JOIN MemberStatus ON
Contacts.MemberStatusID = MemberStatus.MemberStatusID)
INNER JOIN MemberType ON Contacts.MemberTypeID =
MemberType.MemberTypeID
GROUP BY Contacts.Member, MemberStatus.MemberStatus,
MemberType.MemberType
HAVING (((Contacts.Member)=Yes) AND
((MemberStatus.MemberStatus)="Current-Active") AND
((MemberType.MemberType)="Handler"));
many members...). Since the statistics are on the main
switchboard they show up on all of the switchboard, but
don't seem to update the counts until I navigate back to
the main switchboard. I beleive that I can't just have
these statistics appear only on the main switchboard.
So, how can I get the statistics to be updated after the
members get updated? Would the code go on the Members
form, the CountOfMembers form or the switchboard form?
And which event would I attach it to? It's a little
strange in that the "count" form appears on the
switchboard form but counts the member form. Thanks, Annie
Here's the "count" sql:
SELECT Count(Contacts.Member) AS CountOfMembers
FROM (Contacts INNER JOIN MemberStatus ON
Contacts.MemberStatusID = MemberStatus.MemberStatusID)
INNER JOIN MemberType ON Contacts.MemberTypeID =
MemberType.MemberTypeID
GROUP BY Contacts.Member, MemberStatus.MemberStatus,
MemberType.MemberType
HAVING (((Contacts.Member)=Yes) AND
((MemberStatus.MemberStatus)="Current-Active") AND
((MemberType.MemberType)="Handler"));