>Sergey
>
>The function works in VFP9, but the CTOBIN has too many parameters in VFP8. Any idea on this for VFP8?
>
>Thanks
>
>
>FUNCTION Long2NumFromBuffer(tcStr, tnOffset)
>RETURN CTOBIN(SUBSTR(tcStr, tnOffset+1,4), '4rs')
>
See closer the comment at the top for this blog.
If it's not broken, fix it until it is.
My Blog