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
ESX 4.0 & Windows 07 Dual Boot
asp.net remove item from cache if browser is closed
Change text input field value with dropdown menu selection.
Nonqualified transactions are being rolled back.
why don't we feel the force??
HTTP 403 Forbidden error in WordPress installation
Week Number problem
SBS2008 create public mailbox
Delete rows in excel
Need help with Crystal Report and Visual Studio