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
mailto hyperlink with multiple links on multiple lines
Dreamweaver - error creating new site
Vodafone Mobile Connect Error Code 619
Quicktime Movie not visible in some browsers?
SQl update statement
Import graphics into MySQL
code check
Ajax, Jquery, YQL trying to call .net webservice
Parameterised query in vfp9
cant search a Windows 7 drive when connected to my xp machine via usb