• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

ASP and Datbase Query

I have a problem which I cannot work out how to solve. I am using ASP to send two values to an Access database. I then want to automatically perform some basic maths on the two fields in the database storing the result in a third field which I then want to be displayed using another ASP page. My problem is that I am told that Access does not support Calculated fields directly in tables and I must use a query. But how can I then access this query in ASP which only appears to interrogate tables.

Please help if you can. I am new to both Access and ASP so need a bit of help...

Regards R.G.Hurley
0
RICHARDH
Asked:
RICHARDH
  • 2
1 Solution
 
TAMCCommented:
Why not perform the math in your asp file then fill in the third field with the answer?
0
 
TAMCCommented:
Its been 8 days and you still show no signs of life, which I conclude to be that you either gave up on the question or you don't understand what I mean and are too shy to comment me back, well in case the second is true, what I mean is this.

Lets say you need to add two numbers one from one field and one from the other and need the sum in the third field.  In your ASP code fill in the third with the answer to first+second not the formula for first+second.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now