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
Java Scanner NullPointerException
Excel Emailing Worksheet
how can i change the option button value from vb.net to a word 2007 document?
How to export from MS access form to MS word
Migration from win 2008 sbs to one win 2008 dc\file server and one win 2008 exchange server.
win 7 - user profile cannot be loaded.
drop all indexes
Scale one data series in Excel bar graph
Adding items to the List through check boxes via Grid view
How to get the number of the date of every Wednesday from now until year end