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
Application.RunCommand acCmdSubformFormView Causes Runtime error 2501
Loop select statement and update rows with the results?
ADO vs linked dsn
How change background color of a text box based on date criteria
How do I modify an XML file from Access VBA
Directory Tree using Excel/VBA - Retrieve Author/Owner Details as well as file attributes..
Building VC++ COM server to work with VB
How can I change the identity property of a column without setting the wrong seed?
Repaint UserControl in DesignTime
Activesync does not syncronise reminders