|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Calculating Percentages in Access
Hi, what I need to do is take a text field that contains data like "yes, no, maybe" and calculate the how many entered "no" as a percentage on a report. Is this possible? I'm using Access 2002.
Thanks |
|
#2
|
|||
|
|||
|
You will have to write a routine that accepts the text field and searches for all occurrences of the phrase " no ". Then you will have to determine the total number of phrases in the field. From their you can perform your ration calculation.
|
|
#3
|
|||
|
|||
|
Thanks for the reply, I'm kind of new to access (atleast writing code for it) does anybody know of any tutorials that might help me with this? I'm not a complete idiot, I'm just not a programmer.
Thanks |
|
#4
|
|||
|
|||
|
You can try searching here. www.devshed.com.
www.4guysfromrolla.com and jus the web in general. If you are familiar with Visual Basic you can start by putting the text field in a variable and using the instr() function and log the number of occurrences for the word. |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Calculating Percentages in Access |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|