Article ID: 109729
Article Last Modified on 1/18/2007
Option Explicit
Function ReverseString (MyString As String)
Dim StringReversed As String
Dim MyStringLength As Integer, X
MyStringLength = Len(MyString)
For x = 1 To MyStringLength
StringReversed = Mid(MyString, x, 1) & StringReversed
Next x
ReverseString = StringReversed
End Function
Query: Query1
-------------------------------------------
Field: CategoryName
Show: (selected)
Field: Expr1: ReverseString([CategoryName])
Sort: Ascending
Show: (not selected)
NOTE: In version 1.x and 2.0, type a space in the Category Name
field name.
CategoryName
------------
Seafood
Produce
Beverages
Grains/Cereals
Confections
Dairy Products
Condiments
Meat/Poultry
Additional query words: sorting backward
Keywords: kbinfo kbprogramming KB109729