Results 1 to 2 of 2
  1. #1
    sepoto is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2011

    Basic report programming question.

    I have a tabular report displaying two fields 'User' and 'Message' sorted by 'User'. My goal is to add a third field which will be a new field and count all the words in 'Message' and display an integer. I know VBA well but I don't know enough about how to use it with Access 2010. How should I do this? Thank you!

  2. #2
    ajetrumpet is offline Banned
    Windows Vista Access 2007
    Join Date
    Mar 2010
    I'm not sure if a function in a control source would work, but I would write something similar to this in vba if I had to:

    dim i as integer
    i = ubound(split(me.message, " "))
    that will at least give you a count of a sentence or similar.

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

Similar Threads

  1. Basic security question
    By Tari in forum Security
    Replies: 1
    Last Post: 03-20-2011, 05:02 PM
  2. basic (sorry) question
    By wokeeffe in forum Database Design
    Replies: 1
    Last Post: 12-21-2010, 11:20 AM
  3. Basic Question
    By Dalagrath in forum Forms
    Replies: 12
    Last Post: 10-31-2010, 05:36 AM
  4. Really basic question
    By jimlaw in forum Forms
    Replies: 1
    Last Post: 07-27-2009, 07:20 AM
  5. Basic Question
    By chris11590 in forum Forms
    Replies: 0
    Last Post: 08-04-2008, 05:57 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 - Senior Forums