Pleaes Help me!!!

Results 1 to 2 of 2

Thread: Pleaes Help me!!!

  1. #1
    Yair Guest

    Default Pleaes Help me!!!

    Here it is:<BR>Can some one help me on how to calculate a set of values field<BR>from a data base,store them and use them in another asp page.<BR>for example let say i have a database of students and there drade in tow or three subjects and i want to do a avarege of they scors in a test.<BR>e.g. sum=(value1+value2+...+value3)<BR><BR> Thanks.

  2. #2
    Join Date
    Dec 1969
    Posts
    118

    Default RE: Pleaes Help me!!!

    Use Recordset and try like this:<BR><BR>sum = RS.fields(fieldname1) + RS.fields(fieldname2) + RS.fields(fieldname3) / 3<BR><BR>and print the sum value in a table column. Still if u have any doubt feel free to ask.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •