T TimTDP Registered User. Local time Today, 21:18 Joined Oct 24, 2008 Messages 213 Nov 5, 2011 #1 Is there a function to get the numeric value of a letter and vice versa i.e A = 1 5 = E Thanks
gemma-the-husky Super Moderator Staff member Local time Today, 19:18 Joined Sep 12, 2006 Messages 15,980 Nov 5, 2011 #2 asc(ucase(letter))-64 on the basis that the ascii value of A is 65
C ctags009 Registered User. Local time Today, 11:18 Joined Nov 2, 2011 Messages 25 Nov 5, 2011 #3 conversely I suppose you could use: chr(Number + 64) to return the Letter
gemma-the-husky Super Moderator Staff member Local time Today, 19:18 Joined Sep 12, 2006 Messages 15,980 Nov 5, 2011 #4 yes one issue is that A to Z is chars 65 to 90, but lower case letters have different ascii values. i have no idea how access manages to sort in a case-insignificant manner
yes one issue is that A to Z is chars 65 to 90, but lower case letters have different ascii values. i have no idea how access manages to sort in a case-insignificant manner
G Galaxiom Super Moderator Staff member Local time Tomorrow, 04:18 Joined Jan 20, 2009 Messages 12,895 Nov 5, 2011 #5 gemma-the-husky said: i have no idea how access manages to sort in a case-insignificant manner Click to expand... In VBS which is case sensitive, one typically changes the string to uppercase before sorting.
gemma-the-husky said: i have no idea how access manages to sort in a case-insignificant manner Click to expand... In VBS which is case sensitive, one typically changes the string to uppercase before sorting.