Solved

ASP and Datbase Query

Posted on 1998-06-09
2
234 Views
Last Modified: 2013-12-25
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
Comment
Question by:RICHARDH
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
TAMC earned 100 total points
ID: 1857732
Why not perform the math in your asp file then fill in the third field with the answer?
0
 
LVL 1

Expert Comment

by:TAMC
ID: 1857733
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now