Here is an update:  It needed the brackets.   Using UPDATE this will work.
UPDATE Images300 SET Img300 = ['C:\Rtech\Coding02-11\Icons\Amb001.png']
WHERE ID300 = 1
BUT if I create a variable with the file name and its location:
SET VAR vImgName = '[C:\Rtech\Coding02-11\Icons\Amb001.png]'
THEN
UPDATE Images300 SET Img300 = .vImgName WHERE ID300 = 1
-ERROR- Column Img300 must be a valid VARBIT. ( 122)
Of course column Img300 is a valid VARBIT.
Any help would  be appreciated



On Tue, Sep 23, 2025 at 1:29 PM Manuel De Aguiar <mwdeagu...@gmail.com>
wrote:

> Hello Everyone,
> I've been trying to get an external image into a variable using RB11.
> I tried:
> SET VAR vbImg300 VARBIT = 'C:\RTech\Coding02\Icons\Amb001.png'
> it returns the following error.
> -ERROR- Your value does not have the same type or scale as your variable
> vbImg300 (2178).
> So it thinks that 'is a text value'
>
> So I removed the quotes so it is not confused thinking is a text value and
> the result is:
> -ERROR- Column or variable C:\RTech\Coding02\Icons\Amb001.png not found
> (2515)
>
> NEXT I place the image in the same folder of the R>
> -ERROR- Column or variable Amb001.png not found (2515)
>
> SO I am doing something wrong and I do not remember how to get an external
> image into a variable.  Help
> Thank you
>
> --
> For group guidelines, visit
> http://www.rbase.com/support/usersgroup_guidelines.php
> ---
> You received this message because you are subscribed to the Google Groups
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rbase-l+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/rbase-l/CABiOS4-Gq%2B%3DP9Swqw29%2BxpEGpu0b6wuw-LsbCc5onH3f8c10kg%40mail.gmail.com
> <https://groups.google.com/d/msgid/rbase-l/CABiOS4-Gq%2B%3DP9Swqw29%2BxpEGpu0b6wuw-LsbCc5onH3f8c10kg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/rbase-l/CABiOS49oWb7a2qQG8aDUaheub%2BPWbtZFy%3DQg%3Db8QHCg_A2%3DdiA%40mail.gmail.com.

Reply via email to