954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to grab data from access and manipulate it

hello,
Im doing a system to calculate student attendance to class. Now i'm having problems to grab a data from Access, use it as a value in VB calculation. Then, how to send the answer of the calculation to another [FieldName] as an updated data in Access.

the formula of calculation is:

% attendance = [ (total attendance/28) x 100% ]

for your information,

total attendance is the data to be grabbed from Access

Your kindly respond is most appreciated.TQ

diyanajaafar
Newbie Poster
1 post since Mar 2008
Reputation Points: 10
Solved Threads: 0
 

Have you connected to database and fetched the total attendance from database table ?

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

You must get the total of the number of times the student attended the class. Which is from the database. Next, after getting the Total, you can now use your formula:

((total attendance/total class days) x 100%

Now, the only problem you have are:
1. How are you gonna get the Total Attendance?
2. How are you gonna save total attendance on the database?

go here for connection strings.

Correct me if im wrong with the analysis.

cometburn
Junior Poster
122 posts since Feb 2008
Reputation Points: 12
Solved Threads: 19
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You