Consultation with field for multiple criteria

Click For Summary
SUMMARY

The discussion focuses on creating a query in Microsoft Access 2007 to filter records based on specific date criteria. The user needs to identify the first unsuccessful step for each product associated with an advisor, where the scheduled or rescheduled date is less than today's date, and the performed date is empty. The solution involves constructing a query that includes calculated fields to determine the relevant dates and filter results accordingly.

PREREQUISITES
  • Understanding of Microsoft Access 2007 query design
  • Familiarity with date functions in Access SQL
  • Knowledge of subforms and comboBox controls in Access
  • Basic principles of report generation in Access
NEXT STEPS
  • Learn how to create calculated fields in Access queries
  • Study the use of the IIf function in Access SQL for conditional logic
  • Explore filtering techniques in Access to refine query results
  • Investigate report design best practices in Microsoft Access
USEFUL FOR

Database developers, Access users, and report designers seeking to optimize data retrieval and reporting based on date criteria in Microsoft Access 2007.

fabio2012
Messages
2
Reaction score
0
Gentlemen,


I have a subform with the following fields: name of the step, the scheduled date, place and date rescheduled date. I'm having trouble making a statement in a query
that has the following criteria: need to know what the step is smaller than today's date between the date scheduled and rescheduled date and the date performed without value.
if there are any other dates scheduled and rescheduled less than today, I need to know only the name is the first step with the date due.
I think I need to create a field in the query to the term, but I'm not getting. Any help is welcome. Thank you.
 
Technology news on Phys.org
Which database / programming language / development environment / whatever are you using?
 
Thank you for responding, for help. I'm using access 2007. I'm trying to make an appointment to make a report
by each assessor.
I have a form where there is a comboBox with the names of advisors. After selecting a name, I'm trying to
open a report with all the companies and products, and won every step of their product. the difficulty
I'm finding is this: for example, may have one or more steps losers, I just need to know
first step is unsuccessful, according to each product and their company's advisor.
I need to have a field in the report (or query, then use the report), with the date of the step
is unsuccessful, the date can be scheduled or rescheduled date. If the date field is populated place, the
step is ok. Sorry for not having prepared better. I am sent images that may facilitate the understanding of
my problem.
http://dl.dropbox.com/u/53793430/Desktop.zip
Again thank you very much.
 
Last edited by a moderator:

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
6
Views
4K
Replies
21
Views
4K
  • · Replies 2 ·
Replies
2
Views
639
Replies
5
Views
3K