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
VBSCript
How to get the YEAR portion from a DATETIME variable?
GetMessage() in MFC console app
Script to extract information from xml and move files
ASP.NET Membership and Profile Set Up
ESXi 4.0 - virtual machine sees only one CPU
Seizing FSMO roles in Windows 2008R2
who wrote the Torah?
Word 2003 Documents Print to Envelope Tray
My changes in on the notes local calendar is not replicating with the server