K
Ken Warthen
I use the following code to populate a listbox with report names on an
Access 2007 form.
Dim objReport As Object
For Each objReport In CurrentProject.AllReports
Me.lstReports.AddItem (objReport.Name)
Next objReport
The code adds report items as it finds them so there is no order to the
displayed report names. Is there any way to alpha sort the report names?
TIA,
Ken
Access 2007 form.
Dim objReport As Object
For Each objReport In CurrentProject.AllReports
Me.lstReports.AddItem (objReport.Name)
Next objReport
The code adds report items as it finds them so there is no order to the
displayed report names. Is there any way to alpha sort the report names?
TIA,
Ken