Bernie,
Here is an example that I've used. I've used this example for many different file
types! inplace of the JPG I replace it with DWG, DOC, RMD, etc.
choose vimage from #lfiles in *.jpg at center center title 'Images' Caption 'Pick
Image...' lines 15 formatted
set var varimage text = ('['''+.vimage+''']') -- image file name
insert into images (itemid,images) values (.vitemid, &varimage)
Best regards,
Oma
-----Original Message-----
From: Bernard Lis [mailto:[EMAIL PROTECTED]]
Sent: Sat 1/11/2003 3:36 PM
To: [EMAIL PROTECTED]
Cc:
Subject: [RBASE-L] - images 6.5++ 1,862 (latest patch)
According to R:Syntax:
The recommended data type for images is LONG VARBIT.
However in rbdefine there is no long varbit, only varbit.
This is ok because when you do "list" it shows up as Long Varbit, I can
still insert my image.
However, I get an error "Column image must be a valid varbit" when I use
a
variable for the insert command.
When I use insert into images (ID,Image) values (1,['filename.bmp']) it
works fine!
when I replace 'filename.bmp' with .vfilename, I get the above error.
.vfilename comes from:
set var vfilename = ('filename' + '.bmp')
Can anyone help me with this?
Bernie Lis
Megabytes, Inc.
Walled Lake, MI