Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

WM21 - Binary Memo to SQL Server

$
0
0
Been presented with an situation. thanks to help on this forum i have overcome saving an image to my android database.

however in one of the last phases of my app development, i have been presented an issue.

reading on the doc.windev.com site, in the sqlexec section, ther is a line that expresses to me to use WDBinaryMemo in my sql query if im connecting to a webservice. im not sure if im using it right, or if the data extracted from the hfsql binfile.


i am using a hExtractMemo function
hExtractMemo(binfile,bin_data,"Temp.jpg)
my sql string is
sBinTest1 is string = "INSERT INTO BinFile(bin_data) VALUES = {WDBinaryMemo('Temp.jpg')}

im also getting a odd situation with the memo. i can get a string value of the image but it is completely unreadable. the characters returned are symbols mixed with a lot of chinese characters.

Viewing all articles
Browse latest Browse all 1914

Trending Articles