How odd.. I actually had it working last night, but this AM tried the new suggestion and it broke again. Unfortunately I was an idiot and did not write down what worked. I THINK it was:
Select Case TC1
case 0
TracID1 = " "
case TC1 < 27 'A-Z
TracID1 = TC1 + 64
case TC1 >=27 & TC1 < 37 '0-9
TracID1 = TC1 + 21
case 37
TracID1 = ":"
case 38
TracID1 = "."
case else
TracID1 = "$"
End Select
But it does not work again. As a matter of fact, I tried just testing with a fla out test -
case TC1 = 27
and with a value of '27' showing up on my hyperterminal screen, the case logic is not catching it as '27'.... I really don't get that, it is almost like the compiler is not building this code right.
TG




Bookmarks