Microsoft
Software
Hardware
Network
Question : MS Access Report expression for data control source as first day of current month
I have an Access 2003 report with a text box on it. I would like to set the Data Control Source for the texbox to the current date, except it should default to the first day of the month. Form example, if the today is July 15, 2009, then the text box needs to be set for the First of July, 2009 instead of the 15th. 07/01/09 I have tried to write an expression in the textbox properties, under the Data Tab and in the Control Source, but I can't find the right syntax. I tried things like below.
=Format(Date(),"mm") & "/01/" & (Format([Date]),"yy")
=DateSeria(l(Year(Date)),(
Month(Date
)),1)
Answer : MS Access Report expression for data control source as first day of current month
sorry this one
=Format(Date(),"mm") & "/01/" & Format(Date(),"yy")
Random Solutions
Operand error
Form Drop Down reading a table. (Read Ascending order)
USING TO_DATE ORACLE FUNCTION IN SELECT STRING FROM VB.NET
Using ADO on Access Database 'parameter query'
Clone Windows 7 to new drive
How to get file path/name after drag drop.
adding a text box to a radio button list?
Broadcom NetXtreme Gigabit Ethernet can get to gigabit speed
Delete Reporting Services Instances
How to create a text search facility with wildcard