how to search records from the Right using the last 2 digits Ex. "22" would return record "14522"
H Haggr via AccessMonster.com Jan 30, 2007 #1 how to search records from the Right using the last 2 digits Ex. "22" would return record "14522"
P Perry Jan 30, 2007 #2 Use the right function: ? Right("14522", 2) 22 http://msdn2.microsoft.com/en-us/library/eh8fefz1.aspx Or Mid() function s = "14522" ? mid(s, len(s)-1) 22 http://msdn2.microsoft.com/en-us/library/05e63829.aspx Krgrds, Perry
Use the right function: ? Right("14522", 2) 22 http://msdn2.microsoft.com/en-us/library/eh8fefz1.aspx Or Mid() function s = "14522" ? mid(s, len(s)-1) 22 http://msdn2.microsoft.com/en-us/library/05e63829.aspx Krgrds, Perry
H Haggr via AccessMonster.com Jan 31, 2007 #3 thanks. Perry said: Use the right function: ? Right("14522", 2) 22 http://msdn2.microsoft.com/en-us/library/eh8fefz1.aspx Or Mid() function s = "14522" ? mid(s, len(s)-1) 22 http://msdn2.microsoft.com/en-us/library/05e63829.aspx Krgrds, Perry Click to expand...
thanks. Perry said: Use the right function: ? Right("14522", 2) 22 http://msdn2.microsoft.com/en-us/library/eh8fefz1.aspx Or Mid() function s = "14522" ? mid(s, len(s)-1) 22 http://msdn2.microsoft.com/en-us/library/05e63829.aspx Krgrds, Perry Click to expand...
J John Vinson Jan 31, 2007 #4 how to search records from the Right using the last 2 digits Ex. "22" would return record "14522" Click to expand... Use a criterion LIKE "*" & [Enter search term:] If the user types 22, it will find 14522, 32131241222, 22, or any other string ending in 22. John W. Vinson[MVP]
how to search records from the Right using the last 2 digits Ex. "22" would return record "14522" Click to expand... Use a criterion LIKE "*" & [Enter search term:] If the user types 22, it will find 14522, 32131241222, 22, or any other string ending in 22. John W. Vinson[MVP]