Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Home > Forums > Access Forum > Top Value SQL statement by eddy geijselaers
Back to Access Forum    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
Top Value SQL statement
eddy geijselaers 
    
15 years ago
Hello Rick, everyone,

I have this SQL statement I "borrowed" from a query to fill a listbox on a form using some criteria from that form.

Now I need to build in the criteria for my TOP Values like in the SQL2 seminar. Due to the "normalisation" of my tables there are a lot of "JOINS" in the statement.

Now it won't fit on one line and therefor I failed to get it working, even with the normaly used "_" or " " & _" shown in the Access classes.

Reason might be the place I try to "cut"  the lines. As said the "Joins" might been the problem or the statement needs to have some commands in one line that don't fit anymore due to.

Can anyone help me out?

For now I set it by using a fixed number but it would be "cleaner" to give the end-user more flexibility.

Thanks again
eddy peanut


Reply from Richard Rost:

Let's see it.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
 
What's This?

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

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
PCResale.NET
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
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 10/16/2026 2:23:29 AM. PLT: 1s