mitchem1
Registered User.
- Local time
- Yesterday, 21:21
- Joined
- Feb 21, 2002
- Messages
- 153
Is there anyway to determine the maximum Permit Number given the following Permit Numbers?
7E-994
7E-3546A
7E-110
7E-25
7E-887A
7E-36B
The number I need to display for the user is 7E-3546A, but since this is a text data type, the Max function returns 7E-994. The Last function doesn't work because permits are not always assigned in order. I have tried various combinations of Len, Right, Mid, etc., but have been unsuccessful so far. Any ideas would be greatly appreciated.
7E-994
7E-3546A
7E-110
7E-25
7E-887A
7E-36B
The number I need to display for the user is 7E-3546A, but since this is a text data type, the Max function returns 7E-994. The Last function doesn't work because permits are not always assigned in order. I have tried various combinations of Len, Right, Mid, etc., but have been unsuccessful so far. Any ideas would be greatly appreciated.