Hi Dave, how about the STRCONV(cSTR,15) ?
>As Neil posted transform() can be used but it only works with numeric values. If you are trying to convert a string you'll have to do it one character at a time:
>
>
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!!
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.