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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date in Report/Query



 
 
Thread Tools Display Modes
  #1  
Old January 7th, 2010, 04:05 PM posted to microsoft.public.access.reports
clk[_2_]
external usenet poster
 
Posts: 26
Default Date in Report/Query

Hi. I have a report that has worked up until this past week. The
query behind the report has the following expression:

DateAuth: Format([CredAuthDate],"mm/dd/yy")

If I type in 12/31/09....report works fine. Type in anything with
"10" as the year and it fails.

Any suggestions would be greatly appreciated. If I take off the
format for the field it works. Is something different for the year
2010?

This is an Access 2003 database.

Thanks...
  #2  
Old January 7th, 2010, 05:17 PM posted to microsoft.public.access.reports
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Date in Report/Query

I suggest applying criteria to an 'unformatted' field and turn off the
display by unchecking the 'Show' check box.

For further explaination post the exact criteria you used that worked and
did not work.

--
Build a little, test a little.


"clk" wrote:

Hi. I have a report that has worked up until this past week. The
query behind the report has the following expression:

DateAuth: Format([CredAuthDate],"mm/dd/yy")

If I type in 12/31/09....report works fine. Type in anything with
"10" as the year and it fails.

Any suggestions would be greatly appreciated. If I take off the
format for the field it works. Is something different for the year
2010?

This is an Access 2003 database.

Thanks...
.

  #3  
Old January 7th, 2010, 05:34 PM posted to microsoft.public.access.reports
clk[_2_]
external usenet poster
 
Posts: 26
Default Date in Report/Query

On Jan 7, 12:17*pm, KARL DEWEY
wrote:
I suggest applying criteria to an 'unformatted' field and turn off the
display by unchecking the 'Show' check box.

For further explaination post the exact criteria you used that worked and
did not work.

--
Build a little, test a little.



"clk" wrote:
Hi. *I have a report that has worked up until this past week. *The
query behind the report has the following expression:


DateAuth: Format([CredAuthDate],"mm/dd/yy")


If I type in 12/31/09....report works fine. *Type in anything with
"10" as the year and it fails.


Any suggestions would be greatly appreciated. *If I take off the
format for the field it works. *Is something different for the year
2010?


This is an Access 2003 database.


Thanks...
.- Hide quoted text -


- Show quoted text -


Sorry....I did miss adding the criteria.

=[Authorized since: Date Format mm/dd/yy]


The above is the criteria to prompt for the date. If I type in
12/31/09 (or prior to that date) it works fine. If I type 1/1/10 or
beyond it doesn't work.

I will try what you suggested. Thank you.

  #4  
Old January 7th, 2010, 05:44 PM posted to microsoft.public.access.reports
clk[_2_]
external usenet poster
 
Posts: 26
Default Date in Report/Query

On Jan 7, 12:17*pm, KARL DEWEY
wrote:
I suggest applying criteria to an 'unformatted' field and turn off the
display by unchecking the 'Show' check box.

For further explaination post the exact criteria you used that worked and
did not work.

--
Build a little, test a little.



"clk" wrote:
Hi. *I have a report that has worked up until this past week. *The
query behind the report has the following expression:


DateAuth: Format([CredAuthDate],"mm/dd/yy")


If I type in 12/31/09....report works fine. *Type in anything with
"10" as the year and it fails.


Any suggestions would be greatly appreciated. *If I take off the
format for the field it works. *Is something different for the year
2010?


This is an Access 2003 database.


Thanks...
.- Hide quoted text -


- Show quoted text -


Your suggestion worked. I am curious why the report worked prior to
01/01/10. Seems odd.

Well...I appreciate the help. Thank you.
  #5  
Old January 7th, 2010, 07:53 PM posted to microsoft.public.access.reports
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Date in Report/Query

I guess you did not want further explaination and that is why you did not
post the exact criteria you used that worked and did not work.

--
Build a little, test a little.


"clk" wrote:

On Jan 7, 12:17 pm, KARL DEWEY
wrote:
I suggest applying criteria to an 'unformatted' field and turn off the
display by unchecking the 'Show' check box.

For further explaination post the exact criteria you used that worked and
did not work.

--
Build a little, test a little.



"clk" wrote:
Hi. I have a report that has worked up until this past week. The
query behind the report has the following expression:


DateAuth: Format([CredAuthDate],"mm/dd/yy")


If I type in 12/31/09....report works fine. Type in anything with
"10" as the year and it fails.


Any suggestions would be greatly appreciated. If I take off the
format for the field it works. Is something different for the year
2010?


This is an Access 2003 database.


Thanks...
.- Hide quoted text -


- Show quoted text -


Your suggestion worked. I am curious why the report worked prior to
01/01/10. Seems odd.

Well...I appreciate the help. Thank you.
.

  #6  
Old January 11th, 2010, 07:36 PM posted to microsoft.public.access.reports
clk[_2_]
external usenet poster
 
Posts: 26
Default Date in Report/Query

On Jan 7, 2:53*pm, KARL DEWEY
wrote:
I guess you did not want further explaination and that is why you did not
post the exact criteria you used that worked and did not work.

--
Build a little, test a little.



"clk" wrote:
On Jan 7, 12:17 pm, KARL DEWEY
wrote:
I suggest applying criteria to an 'unformatted' field and turn off the
display by unchecking the 'Show' check box.


For further explaination post the exact criteria you used that worked and
did not work.


--
Build a little, test a little.


"clk" wrote:
Hi. *I have a report that has worked up until this past week. *The
query behind the report has the following expression:


DateAuth: Format([CredAuthDate],"mm/dd/yy")


If I type in 12/31/09....report works fine. *Type in anything with
"10" as the year and it fails.


Any suggestions would be greatly appreciated. *If I take off the
format for the field it works. *Is something different for the year
2010?


This is an Access 2003 database.


Thanks...
.- Hide quoted text -


- Show quoted text -


Your suggestion worked. *I am curious why the report worked prior to
01/01/10. *Seems odd.


Well...I appreciate the help. *Thank you.
.- Hide quoted text -


- Show quoted text -


I did post the criteria. Below is the only criteria used in the
query:

=[Authorized since: Date Format mm/dd/yy]


This criteria is used on the following field:

DateAuth: Format([CredAuthDate],"mm/dd/yy")



  #7  
Old January 12th, 2010, 03:10 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Date in Report/Query

This is a date:
=[Authorized since: Date Format mm/dd/yy]


This is a string:
DateAuth: Format([CredAuthDate],"mm/dd/yy")

--
Duane Hookom
Microsoft Access MVP


"clk" wrote:

On Jan 7, 2:53 pm, KARL DEWEY
wrote:
I guess you did not want further explaination and that is why you did not
post the exact criteria you used that worked and did not work.

--
Build a little, test a little.



"clk" wrote:
On Jan 7, 12:17 pm, KARL DEWEY
wrote:
I suggest applying criteria to an 'unformatted' field and turn off the
display by unchecking the 'Show' check box.


For further explaination post the exact criteria you used that worked and
did not work.


--
Build a little, test a little.


"clk" wrote:
Hi. I have a report that has worked up until this past week. The
query behind the report has the following expression:


DateAuth: Format([CredAuthDate],"mm/dd/yy")


If I type in 12/31/09....report works fine. Type in anything with
"10" as the year and it fails.


Any suggestions would be greatly appreciated. If I take off the
format for the field it works. Is something different for the year
2010?


This is an Access 2003 database.


Thanks...
.- Hide quoted text -


- Show quoted text -


Your suggestion worked. I am curious why the report worked prior to
01/01/10. Seems odd.


Well...I appreciate the help. Thank you.
.- Hide quoted text -


- Show quoted text -


I did post the criteria. Below is the only criteria used in the
query:

=[Authorized since: Date Format mm/dd/yy]


This criteria is used on the following field:

DateAuth: Format([CredAuthDate],"mm/dd/yy")



.

 




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 01:06 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.