Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Enter Parameter Value
Leo Rivera 
   
5 years ago
I am desperate.  I am using new version of Access 2019 I did a query and inside the query I create a field that calculate dates example OpenDate + 90 this bring me a date and that is perfect.  The problem is that if I try to do , = or  or I try to do a sort inside the query when I click run a windows asking for Enter Parameter Value and I do not obtain what I want. Please help!
Leo Rivera OP  @Reply  
   
5 years ago
I did this kind of operation on previous access version I have no troubles at all.
Richard Rost  @Reply  
          
5 years ago
Interesting. Post the SQL.
Leo Rivera OP  @Reply  
   
5 years ago
Richard please help me I am stuck with this. Can I send you an screen shot so you can see what happen?
Leo Rivera OP  @Reply  
   
5 years ago
Disregard the previous one.

SELECT SARs.MemberID, Members.CustName, SARs.Continuing, SARs.Analyst, SARs.Comments, [FillingDate]+([Continuing]*90) AS Next90Day, [Next90Day]+30 AS ContinuingDate, [AcctOpenDate]+30 AS FillingDate, Round(([ContinuingDate]-Date())) AS DaysCount
FROM SARs INNER JOIN Members ON SARs.MemberID = Members.MemberID
WHERE (((Round(([ContinuingDate]-Date())))30) AND ((SARs.NotFiled)=False) AND ((SARs.SARFiled)=False));
Richard Rost  @Reply  
          
5 years ago
First, you can upload screen shots. See the Upload Images link at the top of the thread (on the right?)

Second, your SQL looks fine to me, aside from you're MULTIPLYING by 90 days instead of adding. What does it return?
Leo Rivera OP  @Reply  
   
5 years ago

Leo Rivera OP  @Reply  
   
5 years ago

Leo Rivera OP  @Reply  
   
5 years ago

Alex Hedley  @Reply  
           
5 years ago
You can't use a calculated field in the same query, it's too complex.
Save the Query with ContinuingDate first, then create a new Query based off the first and add those extra fields
Richard Rost  @Reply  
          
5 years ago
Yep. Exactly what Alex said. Your query is too complex. You'll have to create nested queries. Or don't rely on that value, redo the math again in the next column.
Leo Rivera OP  @Reply  
   
5 years ago
Richard what video do you talk about nested queries?
Leo Rivera OP  @Reply  
   
5 years ago
Hi another question! My boss is asking me to change the alignment of the data on the Query it this posible?  I pressing the alignment ribbons but don't works.
Richard Rost  @Reply  
          
5 years ago
Hi Leo. I don't really have one lesson on nested queries. I've done it a bunch of times throughout my lessons though. It's basically making one query with calculations and then saving it. Now make a second query that pulls from those results. You do this when you run into the problem you're experiencing. Another one of my members actually asked a question about this a little while back, so it's in the TechHelp queue. Video coming soon.

No, you cannot change the alignment of fields in a QUERY. That's what FORMS are for.
Leo Rivera OP  @Reply  
   
5 years ago
Ok thanks for everything I solved the problem of the original query.
Leo Rivera OP  @Reply  
   
5 years ago
Richard please help me.  I did split my data base therefore I have my tables in a separate file. Now I need to create a new table but I have no idea to added to the front end file.  Pleas help.
Richard Rost  @Reply  
          
5 years ago
Leo Rivera OP  @Reply  
   
5 years ago
How to un split can I put back the database as how was before? Is that explained in this link you sent me?
Alex Hedley  @Reply  
           
5 years ago
Did you use the Access Split Database Seminar?

You can just copy the objects from the BE back into the FE.
Question is why?
Richard Rost  @Reply  
          
5 years ago
Yeah, just delete the links to the tables you've got and IMPORT the tables from the BE file.
Richard Rost  @Reply  
          
5 years ago
This is all covered in Access Expert 21.
Leo Rivera OP  @Reply  
   
5 years ago
Richard please help me! How can I set a parameter in a query using ,greater than or less than and so on.  I am tiring this but don't works "less than[Enter days]" Note I have to write in letter since did not appear when I summitted.
Richard Rost  @Reply  
          
5 years ago
Yeah, my site strips out < and > to prevent HTML from being added. When you type in a parameter value like that in a query, it's treated like TEXT, so you need to convert it to a number value:

< CLng([Enter Number of Days])

That should do it.
Richard Rost  @Reply  
          
5 years ago
Someone else asked the same question recently in the TechHelp queue. It's in the list for a video.
Leo Rivera OP  @Reply  
   
5 years ago
Rick please give an heads up I am preparing a quality control questionnaire that will  be completed for all accounts an I am stuck I do not have idea how to relates this tables.  Any idea? Or any course you recommend me to see?
Richard Rost  @Reply  
          
5 years ago
Is this related to your previous question, or is this something new?
Leo Rivera OP  @Reply  
   
5 years ago
new

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

Next Unseen

 
New Feature: Comment Live View
 
 

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: 6/17/2026 4:53:09 AM. PLT: 1s