Date function not recognised in Access 2007

sashapixie

Board Regular
Joined
Aug 29, 2013
Messages
71
Office Version
  1. 365
Platform
  1. Windows
Hello There

I have a report with the following conditional formatting in a report in access 2013.

Expression Is [Follow up Date]=Date()

I have Access 2013 and this works fine, when I open the database in a colleague's 2007 version of access, when I run the report a parameter box appears for Date and no conditional formatting works.

I have searched the net but cannot find anything on this issue.

Any help would be greatly appreciated.

Thanks
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Sasha; what is "Follow up Date". Is it the name of a field? Where is the expression being used? In a control on the report or in the query for the report? When you put something in square brackets like that you are telling Access it is either a FieldName or it is a parameter in a query. I am surprised it works in Access2013 but then I am not sure how you are using it. If it is a field name in an expression in a control Ie: ControlSource property, it should be in parentheses like ([Follow up Date]) = Date()
 
Upvote 0
Hello dlearyfun

"Follow up Date" is the field name. This field appears in a query which is the data source for the report. I will input the brackets and see if this fixes my issue in Access 2007.

Thanks for your response.
 
Upvote 0
I still have the parameters pop up box for Date appearing :(
 
Upvote 0
One strange error (occasionally) is that Visual Basic is not referenced.

1) Alt-F11 to open the visual basic editing environment
2) Tools | References to view references
3) make sure that Visual Basic for Applications is checked (usually it is at the top of the list, which is probably where it should be).
 
Upvote 0

Forum statistics

Threads
1,221,877
Messages
6,162,583
Members
451,776
Latest member
bosvinn

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top