Solved

Count Character in multiple field

Posted on 2016-09-04
4
41 Views
Last Modified: 2016-10-08
I make form  like this  :
                         
ID        Name Student     date1         date2          date3         date4           date5    .......  date31         sum of Present(P)     Sum of Absent(A)    
1         Robert                       P                A                  P                 P                   A                                                   3                                   2
2         Oliver                        A                P                  P                  P                   P                                                   4                                   1
3         Jacky                          P                P                   P                 P                  P                                                    5                                   0

I want when date6 for Robert Student I type  "A"  so the result in sum of Present(P) is = 3 and sum of Absent(A) is 3
0
Comment
Question by:plut sultra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
crystal (strive4peace) - Microsoft MVP, Access earned 250 total points (awarded by participants)
ID: 41784274
This is poor data structure.  Better would be to have a table for Attendance like this:

Attendance:
AttendanceID, AutoNumber
StudentID, Long Integer -- foreign key to Students (table with Student information)
ClassDate, date/time
AttStatus, text -- Attendance Status (A=Absent, P=Present)
0
 
LVL 50

Assisted Solution

by:Gustav Brock
Gustav Brock earned 250 total points (awarded by participants)
ID: 41784493
As you stipulate it, it is a task for a spreadsheet.

/gustav
0
 
LVL 50

Expert Comment

by:Gustav Brock
ID: 41804510
I suggest a delete.

/gustav
0
 
LVL 20
ID: 41834877
no response from poster
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question