A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date of Local Machine



 
 
Thread Tools Display Modes
  #1  
Old April 5th, 2007, 02:58 AM posted to microsoft.public.access.queries
Babadog
external usenet poster
 
Posts: 3
Default Date of Local Machine

hello

My DataBase have one field i use Date/Hour the name is NASCIMENTO
In my querie i need return alls birthday using the Date of my local machine.
For example: today is 4/4/2007 i need return al birthdays of april
thnak's for atention
  #2  
Old April 5th, 2007, 03:16 AM posted to microsoft.public.access.queries
Allen Browne
external usenet poster
 
Posts: 11,706
Default Date of Local Machine

1. Create a query that uses this table.

2. Type this into a fresh column in the Field row:
Month([NASCIMENTO])

3. In the Criteria row under this field, enter:
Month(Date())

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Babadog" wrote in message
...
hello

My DataBase have one field i use Date/Hour the name is NASCIMENTO
In my querie i need return alls birthday using the Date of my local
machine.
For example: today is 4/4/2007 i need return al birthdays of april
thnak's for atention


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:32 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.