Results 1 to 4 of 4

Summing fields, maby little strange question

  1. #1
    sina00 is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2011
    Posts
    2

    Summing fields, maby little strange question

    Hi all!



    I need to accomplish something like this in VBA:




    I need to get sum of four 5-digit fields, but every next field is moved to right.
    Googlin' few hours for sulution, but
    Possible?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    20,791
    Don't see why not. Leave the first number alone, multiply the second by 10, the third by 100 and the fourth by 1000 and add the results up.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    sina00 is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2011
    Posts
    2
    Quote Originally Posted by pbaldy View Post
    Don't see why not. Leave the first number alone, multiply the second by 10, the third by 100 and the fourth by 1000 and add the results up.
    great! thank you pbaldy!
    I always sucked in math

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    20,791
    No problemo. Instructor threw a little curve ball?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. question about hidden fields and checkboxes
    By Nokia N93 in forum Access
    Replies: 2
    Last Post: 11-22-2010, 07:31 AM
  2. Summing Calculated Fields
    By Zoran in forum Queries
    Replies: 1
    Last Post: 03-31-2010, 01:59 PM
  3. Replies: 6
    Last Post: 03-17-2010, 10:09 PM
  4. Replies: 3
    Last Post: 08-11-2009, 02:21 PM
  5. Replies: 0
    Last Post: 01-24-2009, 11:40 AM

Tags for this Thread

Posting Permissions

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