Hi Solly,
I received your database and we exchanged a few replies, however, I have not
heard back from you after my last reply made on Sep. 16th. I think I found a
solution for you and I requested your confirmation, but that's when you
seemed to stop replying for whatever reason.
In the interest of helping other people who may want to use the Accounts
Ledger template, and who are not using the English (US) settings, I wanted to
share what I *believe* is a solution:
I changed the Control Source shown in a hidden text box named
"txtReportFilter", on the form named "View Reports":
From this:
=Choose([grpFilterOptions],"[TransactionDate] Between #"
& Forms![View Reports].[txtBeginningTransDate]
& "# AND #"
& Forms![View Reports].[txtEndingTransDate] & "#","")
To this:
=Choose([grpFilterOptions],"[TransactionDate] Between "
& Format([Forms]![View Reports].[txtBeginningTransDate],"\#mm\/dd\/yyyy\#")
& " AND "
& Format([Forms]![View Reports].[txtEndingTransDate],"\#mm\/dd\/yyyy\#"),"")
I had based the above modification on Access MVP Allen Browne's article here:
International Dates in Access
http://allenbrowne.com/ser-36.html
Note: I had previously renamed the two text boxes, from "Beginning Trans
Date" and "Ending Trans Date]" to "txtBeginningTransDate" and
"txtEndingTransDate", respectively. I am a proponent of using naming
conventions, and avoiding the use of special characters, including spaces, or
reserved words, in anything that I assign a name to in Access.
I also added a date format of the two unbound text boxes used to enter dates:
Format: dd/mm/yyyy
In the Account Summary report, I changed the Control Source for the text box
named: "Rpt Date Range" to this:
="For Transactions Between: " & Format([Forms]![View
Reports]![txtBeginningTransDate],"dd/mm/yyyy") & " and " &
Format([Forms]![View Reports]![txtEndingTransDate],"dd/mm/yyyy")
I also set a similar format for the text box on this report named
"Transaction Date" to: dd/mm/yyyy
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________