Dan, Larry and Mike,

Thank you, now I understand.  Since I'll have to create a file and then
delete it, I have another question.  I can ERASE .VFILE, ERASE &VFILE,
DELETE .VFILE and DELETE &VFILE at the R> prompt but not in a command
file...  Is that normal?

Claudine 


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of MikeB
Sent: Tuesday, July 08, 2008 3:20 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Working with stored images

The VarBit is just the memory placeholder for the binary data.

To make it a (Disk)file, you need to write it to disk then reference
its' disk 
location to your app.

Further, you could show an image in the R Window (in 6.5++)(tested)
using the 
syntax shown in the HelpFile by giving it a size and a locationusing the
'AT' 
specifier to set ScrRow and ScrCol like:

sho var vimg = 640,320 at 10,10

But in 7.6, I get the same result as you do.

----- Original Message ----- 
From: "Claudine Robbins" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, July 08, 2008 3:55 PM
Subject: [RBASE-L] - Working with stored images


I have:

SET VAR VIMAGE VARBIT = ['\IMAGENAME.JPG']

And successfully:

UPDATE TABLENAME SET FIELD1 = .VIMAGE WHERE FIELD2 = 1

Now, in an email sending routine, I want to capture the file to attach
to an email.  So I've tried:

SET VAR VGETIMAGE VARBIT = NULL
SELECT FIELD1 INTO VGETIMAGE INDICATOR IV1 FROM TABLENAME WHERE FIELD2 =
1

And all I get is:

SHOW VAR VGETIMAGE
[JPG]

What am I missing?

Claudine


Reply via email to