Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old July 9th, 2003, 10:20 AM
necro necro is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 3 necro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 18 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old July 10th, 2003, 08:45 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
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.

Reply With Quote
  #3  
Old July 10th, 2003, 02:08 PM
necro necro is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 3 necro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 18 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old July 10th, 2003, 09:26 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Calculating Percentages in Access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway