473,385 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Find maximum of two fields and then report that value to antoher

I need to update a field in a table called "results" with the maximum number from one of two fields (say, "RAW and RAW_RG") in another table called "calcualtion".

The data in the "calcualtion" table is generated by a different software product.

My ultimate goal, is that i may run the calcualtion repeatedly, and each time I want to determine the max value for each entry in table and then createa a new table which only contains the maximum result.

thanks
Feb 13 '14 #1
1 842
mcupito
294 256MB
So the Maximum number to be returned can come from either "RAW" or "RAW_RG" ? And those are two separate fields in a database?
Feb 14 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Evil | last post by:
This is likely a very simple question, but one which is leaving me a bit confused. i have an image control on a report in Access97 then in the Detail's ON FORMAT Event, i have: Private Sub...
3
by: JC Mugs | last post by:
I have a report coming from a query that I need to print. Question: I want to have fields print or not print on a value of one of the fields... Like this- IF Doz2 >0 then Print Doz2 ...
2
by: John | last post by:
I have two tables Invoices and Payments. I want to design a statement report with data from both tables sorted by date. Column headings are: DATE INVOICE NUMBER DETAIL (supply or payment) ...
2
by: Wolfgang | last post by:
Hi, I need to timestamp printed records with the printing date. According to the customer's requests the report must be opened in preview-mode and the user clicks on the printer button if he...
1
by: carrionk | last post by:
Hi, I've been trying to search for more information on this topic without luck. >From what I've read, the maximum fields that can be used with GROUP BY clause is 10. (this was an Access 97...
3
by: Simon | last post by:
Dear reader, I found out a strange behaviour in a query of the type Total (summation query). In case of a normal select query with a criteria setting Is Null for field-A, four (4) records...
3
by: shawnews | last post by:
Please help me...a newbie here.... I having been working two days on a project, thought I was almost done until I tried to create a report using a query I had succesfully made. I get an error...
1
by: argniw | last post by:
I need a stored procedure or other method to find the maximum value for each set of records. I would want to eliminate all of the non- maximum records. An example of the data is below. For the...
1
by: SoftwareTester | last post by:
I would like to retrieve the INDEX of a bit rather then its VALUE while scanning for MSB or LSB Example from http://aggregate.org/MAGIC/#Most%20Significant%201%20Bit: unsigned int msb32(register...
5
by: zensunni | last post by:
Say we have a couple of tables like so: Departments_to_Employees department_id employee_id Employee employee_id I want to find how many employees the department with the maximum amount of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.