Jim, the next code line is
UPDATE cardreader SET picture = (.vfoto1) I want to get it into a one-row table. Luc Delcoigne From: Jim Belisle Sent: Monday, June 06, 2011 8:49 PM To: RBASE-L Mailing List Subject: [RBASE-L] - re: loading jpeg in BLOB Luc, Are you loading it into the table, form or report? James Belisle -------------------------------------------------------------------------------- From: [email protected] [mailto:[email protected]] On Behalf Of Luc Delcoigne Sent: Monday, June 06, 2011 1:07 PM To: RBASE-L Mailing List Subject: [RBASE-L] - re: loading jpeg in BLOB Hi, This topic has been answered before, but I can't find it anymore. I want to load an JPEG into a BLOB from a variable. this is a question of correct syntax. What I have is : SET VAR vfoto = (dlcall('RMScript.dll', 'MScrEval', 'cardholder.Picture.TempFileName')) --vfoto contains the path to the JPEG SET VAR vfoto1 VARBIT = NULL SET VAR vfoto1 VARBIT = [.vfoto] -- this is where it is going wrong. How can I get the contents of the variable in the BLOB ? Luc D.

