View Single Post
  #2 (permalink)  
Old 12-18-2008, 09:09 AM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,068
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Get the blob as a byte array, data() = DataReader.GetBytes(column), then use my BytesConverter library http://www.basic4ppc.com/forum/addit...html#post14218 to convert the value you want. Watch out for possible little/bigendian problems depending upon the source of the data for the blob.

Note that, as documented in the help, the library converts one or more bytes of an array to a fundamental data type. Then Basic4ppc, which knows about all the fundamental types, converts that data on input into its own internal representation which is in fact a string.
Reply With Quote