Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Project Budgets < Find Record | Rounding Errors >
 
Project Budgets
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   12 days ago


Back to Project Budgets
 

Query Within Query Upload Images   Link  
Juan C Rivera 
11 days ago
Good morning all trying to see if there is a help video on this.  So let me try to see if I can talk this one.  I make a query (agregate) and make a second query to do the calculation.  I like to get all this in one form to execute on one button.  When I think I got it, I deleate the query only to find that the query in the form is looking for the agregate query.  How can I get his done so I dont have the 2 querys just the SQL?  Not going to ask if it can be done Richard probably will put out di-lithium crystals and blast it with a phaser and make a new function..  LOL

V/r
Juan
LLNP
Kevin Robertson
11 days ago
Juan,

Since this is a long SQL statement and from the extended cut I won't post all that code here, but this is how to do it.

If you take the calculation from the second query and put it in the aggregate as an Expression.
Then go to SQL view. This is what you need in the RecordSource of the form (copy and paste).
Now both Queries can be deleted (make sure everything is working first).
Juan C Rivera
11 days ago
Thanks Kevin I will try tonight last night it drove me crazy when I removed the 1st query and could not figure out what happened.... LOL senior moment!
Richard Rost
3 days ago
You can always post stuff like that in the TechHelp Members Only Forum. But yeah, that would be a long statement. LOL.
Add a Reply


Back to Project Budgets Comments
 

Start a NEW Conversation
 
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.
 
Subscribe
 

You may want to read these articles from the 599CD News:

6/30/2022Sales Chart
6/27/2022Rounding Errors
6/26/2022Calendar Seminar Students Only
6/24/2022Multi Combo One Field
6/23/2022Modal & Popup
6/21/2022Week of Year
6/16/2022Value List Combo
6/15/2022Weekday
6/14/2022Project Budgets
6/14/2022Find Record
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn