Results 1 to 2 of 2
  1. #1
    AccessFreak is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2010
    Posts
    17

    Count Text as Number

    Hi there

    Im creating a call centre database, in which the "leads" table is linked to the "calls" table, so that many calls can be made per "lead or company".

    I now have a "results" table, which only needs three fields: "Yes", "No", or "NotAvailable"

    Each time I create a "call" for a company or lead, I need to be able to select the "result" or outcome of the call, (yes, no or n/a)

    That works out fine. But now - I need a query which will give me totals for all the "yes"'s all the "no's" and all the n/a's in order to print monthly, and weekly reports which also need to calculate the "closing ratio" of the call centre



    I tried creating 3 fields in tblResults - YES NO N/A and then using tick boxes, but when I do a sum it doesnt calculate them?

    Please help :-)

    Thank you kindly

    AccessFreak

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    what are you looking for? 3 columns, each with the sum of the appropriate values?

    if so, you can do that like so:

    Code:
    select dsum("yes", "results"), dsum("no", "results"), dsum("na", "results")

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 11
    Last Post: 12-09-2010, 10:55 PM
  2. Replies: 3
    Last Post: 08-26-2010, 02:11 PM
  3. Replies: 7
    Last Post: 07-22-2010, 01:14 PM
  4. Count number of identical posts
    By Patience in forum Access
    Replies: 1
    Last Post: 06-16-2010, 04:27 AM
  5. How to count charcter or text in field
    By nshaikh in forum Queries
    Replies: 3
    Last Post: 09-12-2008, 10:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums