Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New User needs help with extracting date/part 1

Status
Not open for further replies.

suzcomptime

Technical User
Jul 12, 2000
2
0
0
US
<font color=purple><b>I am a new user and have started a simple database.&nbsp;&nbsp;I have set up a few forms and reports to use but now I need to set up a report that sorts by month and day of birth with no regard for year.&nbsp;&nbsp;I would really appreciate some direction - I tried to set up a query using the date part function but I keep getting errors.&nbsp;&nbsp;<u>Am I even heading in the right direction? Thanks for any help.</b></u></font> <img src=
 
use this in a query as the sort field, where mydate is the date field<br><br>&nbsp;Left(Format([mydate],&quot;mm/dd/yy&quot;),5)<br><br>PaulF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top