Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Adding Edit Boxes for a Grand Total

Adding Edit Boxes for a Grand Total

Adding Edit Boxes for a Grand Total

I would like to take 5 edit boxes and add them up into a grand total with a submit.  I have a form that rates employees on 5 subject matters from 1-5.  I want to have a contract sum the edit boxes and set value in a grand total edit box that is tied to a recordset.  I have seen this before but somehow lost the contract.  Can someone help??

RE: Adding Edit Boxes for a Grand Total

Let's say you have 5 edit boxes named Edit1, Edit2, Edit3, Edit4, and Edit5 and that you are summing them into Edit6.  You really don't need a contract.  Just place the following in the onchange script for the submit button.

RE: Adding Edit Boxes for a Grand Total

Thank You, That seems too easy but works!  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close