Microsoft
Software
Hardware
Network
Question : Sorting records in VBA
Hello Experts,
I use the following code to filter the records displayed in an Access form using the following SQL statement:
Me.RecordSource = "SELECT * FROM tblMain WHERE mMonth ='" & Me.txtCurrentMonth.Value & "'"
And use the following select statement to unfilter:
Me.RecordSource = "SELECT * FROM tblMain"
What I need is to sort the records back to their sorted status by Date, after removing the filter, using the txtDate textBox which contains the date for each record.
Thank you
Answer : Sorting records in VBA
then use this
Me.RecordSource = "select * from tblMain order by dDate"
Random Solutions
password
When machine in locked state can Outlook forward all emails to a Hotmail account?
Write a trigger which, when the salary of any employee(s) is updated, inserts a single record into this audit table with the total amount of the change across all employees.
Sahi, ReferenceError: "$Array2" is not defined.
How do I create a "file folder" on an access form?
Are there any websites which provide free standardized video and audio streams to use for testing?
Windows 2003 Server Remote Sites not Replicating with main location
stopmalwaresite.com virus removed but browser still redirecting (hijacked) - how to fully clean??
Exchange Mailbox behaviour on Disabled accounts
Multiple sessions for internal and external users ?