473,387 Members | 1,536 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,387 software developers and data experts.

Is This Query Possible?

I have a form that contains a lot of individual rows of text boxes
with dates and totals. Although one can view the form to see the
accumulative totals, what I would like to do without redoing the form
and creating multiple subforms is to be able to query any of the dates
(beginning/ending) and the resulting accumulative totals - like one
line per record.

The goal is to merge the one line piece of data with another form's
report to simply derive a grand total of both. Is there anyway to
construct a query that could dump the contents into another table or
query and then construct the data? Any suggestions will be
appreciated. Thanks.
Nov 12 '05 #1
1 1869
Use the DSum() built-in function in Access on your report calling the field
that contains the "totals." Launch the report off a QBF form that has
date-range boxes used to parameterize the underlying query. Your total now
should be a one-liner in your report. Add this one-liner to your other
totals on the report to produce the grand total. See the sample database I
e-mailed you previously. It has an example demonstrating exactly what I am
explaining above. The only difference is the "total" is not added to any
another total to give you a grand total. Open that sample database and
reverse engineer it and you see what I mean.

Denny G.
"Dalan" <ot***@safe-mail.net> wrote in message
news:50*************************@posting.google.co m...
I have a form that contains a lot of individual rows of text boxes
with dates and totals. Although one can view the form to see the
accumulative totals, what I would like to do without redoing the form
and creating multiple subforms is to be able to query any of the dates
(beginning/ending) and the resulting accumulative totals - like one
line per record.

The goal is to merge the one line piece of data with another form's
report to simply derive a grand total of both. Is there anyway to
construct a query that could dump the contents into another table or
query and then construct the data? Any suggestions will be
appreciated. Thanks.

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jonathan | last post by:
Hi all! For a match schedule I would like to find all possible combinations of teams playing home and away (without teams playing to themselves of course). I now the simple version works...
3
by: cassandra.flowers | last post by:
Hi, I was wondering if it is possible (Using access) to have a query parameter as a drop down box rather than a text box? e.g. typing as criteria for a query produces a box with a text box...
1
by: Michelle | last post by:
I have took another approach to my database and have created a field in my clients table with a 'client status' field, which is a combo box/value list that is a pulldown menu of 3 choices (active...
3
by: Ryan Hubbard | last post by:
I would like to run a query from VBA. The query will be one with parameters. Is there a way to run the query and have Access prompt for the values like it does if I where to execute it through...
3
by: Pea | last post by:
Is it possible to get the average in a query where I have multiple criteria? Here's an abbreviated example of the query in design view: Fields: USERID DATE TIME ID_TYPE...
4
by: d.p. | last post by:
Hi all, I'm using MS Access 2003. Bare with me on this description....here's the situation: Imagine insurance, and working out premiums for different insured properties. The rates for calculating...
6
by: jjturon | last post by:
Can anyone help me?? I am trying to pass a Select Query variable to a table using Dlookup and return the value to same select query but to another field. Ex. SalesManID ...
2
by: jim Bob | last post by:
Hi, I have a query with the criteria of (!..) Or !.. When I provide the value from qmylist, a second pop up appears waiting for the value from lstResults. If I enter nothing and click ok, it...
13
by: forbes | last post by:
Hi, I have a user that used the Query Wizard to create a query in Access. Now she claims that her master table is missing all the data that was excluded from the query. Can you create anything...
5
by: jonm4102 | last post by:
I'm trying to calculate the median of some numerical data. The data can only be found in a query (henceforth query 1) field I previously made, and I would prefer to calculate the median in a new...
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.