ACC2000: Function to Reverse String Characters in a Query (210439)
The information in this article applies to:
This article was previously published under Q210439 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
SUMMARY
Microsoft Access 2000 includes a new function, StrReverse(), that returns a string with the characters reversed from the original argument string. For example, if you were to pass the string "ABCD" to the function, the function would return the string "DCBA."
This article shows you how to create a function called ReverseString() that uses the StrReverse() function, so that you can sort records in a query with the results of the function.
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbhowto kbProgramming KB210439 |
---|
|