Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to add a value from a form into an existing numerical field?

Status
Not open for further replies.

NeilBelgium

IS-IT--Management
Sep 18, 2001
87
BE
dear all,

how to add a value from a form into an existing numerical field?

I'm designing a db to record ratings for employees, which may be given by several of their colleagues.
I'm using asp/access/iis, and also have UltraDev as I believe this will take a lot of the time out of the process.

I'm stuck, though.
say I have a field called Question1, and I have a form that can insert into this field. Fine. But what happens when another person enters a score. What i need is a field Question1average, and a method of adding the second persons input to the first, and so on, instead of overwriting.

Presumably some method of calling the original value, adding this to the second value in an asp, and then putting both together and back into the db.

But how? my asp is limited, and I need to know how to do this.

much appreciated, neil
 

A better design would be to record each individual's response in a record in a detail table. Then create a totals query that will aggregate the responses. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top