Microsoft
Software
Hardware
Network
Question : Previous Month-end Date based on Date in Text Box
On a Access 2007 form a text box is formatted as Short Date and the Date
Picker can be used to select the a date for which a process will be run.
Part of the process uses the date selected as the criteria in a query to return data as of that date. From this same entered date I need to derive the previous month-end date for another query that will return data for comparison with that of the first query.
Assuming that the text box holding the selected date value is Text1 I have tried the following:
=DateSerial(Right([Text1],
2),Left([T
ext1],2),0
)
This works for the months of October through December, but the Date formats in Access don't create a true mm/dd/YYYY display so it fails for the rest of the year.
Answer : Previous Month-end Date based on Date in Text Box
Sure.. Here it is with the changes I suggested.
Random Solutions
Group Policy - Only allow intranet web access to production desktops
Copy "Protect Sheet" setttings to all tabs in a workbook
WRT54G - filter out websites
changed my boot disk controller type and now unable to boot
Complete uninstall of Sharepoint Services 3.0 from Windows 2008 Server
Variable not defined error using VBA ExportAsFixedFormat Type:=xlTypePDF in excel 2003
Why cant I use the native mail client on the new HTC Evo to syn with ActiveSync to our OWA site?
Get the name of an active control
Create chart that ignores zero values
SAS or SATA