Hello -
I'm trying to make a page with a list of names where all of the people whose last name starts with A is colored green, B's are blue, C's are green etc. However, I dont want to just say
if LEFT((REC1("lname"
),1) = "A" then
Response.Write "<FONT color=green>"
because then I'd have to write it out for each letter, and if there's no one in the list whose last name starts with "H" then the pattern will be messed up.
Is there an easy way to do this??
I'm trying to make a page with a list of names where all of the people whose last name starts with A is colored green, B's are blue, C's are green etc. However, I dont want to just say
if LEFT((REC1("lname"
Response.Write "<FONT color=green>"
because then I'd have to write it out for each letter, and if there's no one in the list whose last name starts with "H" then the pattern will be messed up.
Is there an easy way to do this??