PLEASE HELP ME. NOW !!! Need help setting a condition within a que

G

Guest

I am trying to fill a query field based on entries in other fields.

FirstSavings,SecondSavings, and ThirdSavings are fields in the table call
fooTable.

I created fooquery to select FirstSavings,SecondSavings, and ThirdSavings
from fooTable. I want to add another query field called
fooquery.CurrentSavings that will
pick the latest dollar amount of the three fields and put the value into
CurrentSavings.

Please look at the example below to an idea of what I mean.

EXAMPLE

fooQuery

FirstSavings SecondSavings ThirdSavings CurrentSavings
123 433 345
345
123 0 0
123
564 589
589
 
G

Guest

Step away from the keyboard! You are trying to "commit spreadsheet". Your
table has serious normalization problems and just will NOT work correctly in
a relational database. Period.

That you have fields named FirstSavings,SecondSavings, and ThirdSavings
makes it almost certain that you have a normalization problem. What happens
to all of your Forms, Reports, and Queries when someone decides that you need
a FourthSavings field? If your tables were properly normalized, your query
would be very easy to do using a Totals query. With your current setup, it's
going to be very difficult to nearly impossible.

I highly suggest getting some relational database training or reading
"Database Design for Mere Mortals" by Hernandez before proceeding any further
on this database.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help Please 5
HELP PLEASE 3
Duplicates 3
I need help working with parameters!!!! 3
IIF Function Within A Query 6
Please help to zero filled on file 8
Need to update/edit text within a field...HELP 2
If conditions 1

Top