lcHex = "" for i = 1 to len( lcStr ) lcHex = lcHex + right( transform( asc( substr( lcStr, i, 1 ) ), "@0" ), 2 ) endfor>What is the VFP syntax for converting ASCII to Hexidecimal. It is driving me nuts and it is not in the Help file and I knew how to do it once upon a time. Thanks for the feedback!!