On 2017-10-21 13:44, Jan Bucek wrote:
Dne 21.10.2017 v 19:32 [email protected]
napsal(a):
vfp9sp2
screenshot: https://www.screencast.com/t/eY3GYNm4yu
I'm writing a new "self-updating" logic to check a table repository
for a later version. Table is MySQL (MariaDB actually, version
10.0.30-MariaDB-0+deb8u2). Field in Setups table is called oSetup and
it's a LongBlob field. I inserted my Inno installer setup (update)
exe file in the MySQL table via FILETOSTR(myupdate.exe). However,
when my "check for update" code runs, I grab the record conditionally
and then try to do a STRTOFILE(..) but it fails since oSetup came into
my cursor as a General field. Would CAST be my solution here?
Maybe
CURSORSETPROP("MapBinary", .T., 0)
THANKS, JAN!!! THAT DID IT!!!!!
Piece of cake now!
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.