Solved

Access Date Prompt in Query

Posted on 2013-01-11
2
230 Views
Last Modified: 2013-01-11
What I'm trying to do is that if the enter date is greater than or equal to [Entry Exit Exit Date], then result be "Yes" if not "No".

When I try the expression as is, I get no data results.

[Enter Reporting End Date]

End of Report Period is: IIf([Enter Reporting End Date]>=Format([qrySHOFamilySystemB]![Entry Exit Exit Date],"Short Date"),"Yes","No")
0
Comment
Question by:jbakestull
2 Comments
 
LVL 119

Assisted Solution

by:Rey Obrero
Rey Obrero earned 250 total points
ID: 38768821
try


End of Report Period is: IIf([Enter Reporting End Date]>=Cdate(Format([qrySHOFamilySystemB]![Entry Exit Exit Date],"Short Date")),"Yes","No")
0
 
LVL 61

Accepted Solution

by:
mbizup earned 250 total points
ID: 38768824
try this:

IIf(Format([Enter Reporting End Date], "yyyymmdd") >= Format([qrySHOFamilySystemB]![Entry Exit Exit Date],"yyyymmdd"),"Yes","No")

Open in new window

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now