Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help on SQL To VFP Please!!!
Message
From
23/07/2002 17:35:49
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00681474
Message ID:
00681856
Views:
18
Good morning Sergey

Am I to assume:

1) the line '.... TO LEN(lcStr)' should read '....TO LEN(entity_id)'? otherwise, where and what do I define lcStr as?

2) After converting to HEX, I then convert to ASCII?

Cheers,

R
>Hi Ric,
>
>To convert binary data to something meaningfull you've to know what is stored there and in what format. To convert it to hexadecimal string.
lcHex = ""
>FOR i=1 TO LEN(lcStr)
>  lcHex = lcHex + RIGHT(TRANSFORM(ASC(SUBSTR(entity_id, i,1)), "@0"),2)
>ENDFOR
>? lcHex
>
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform