set var vImage long varbit = ['SomeFileName.bmp']
insert into SomeTable SomeVarbitCol val .vImage




----- Original Message -----
From: "Bernard Lis" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, January 11, 2003 3:36 PM
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
>
>

Reply via email to