How to compare strings

rickyfong

Registered User.
Local time
Yesterday, 23:52
Joined
Nov 25, 2010
Messages
199
How to compare 2 strings in Access in order to determine one is biggest or highest than the other?? For instance, T1212345 vs W1212345. Thanks a lot!!
 
yuo can just say

if strga= strgb

or if strga<strgb etc

or even compare a few characters

if left(strga, num) = left(strgb, num)
 

Users who are viewing this thread

Back
Top Bottom