At 01:06 PM 2/26/2010, Marc Schluter wrote:

It looks like launching an editor, saving the file, then
loading it into RBase is the only way.

Marc,

Did you know that you can automate the whole process, from
within a form EEP, using the "RBBE filename.ext" command?

You can use the RBBE (RBBEDIT) command to launch the R:BASE
BLOB Editor for managing external files at the R> Prompt, in
a command file, or in an EEP. Depending on the file extension,
the Note/BLOB Viewer/Editor will display the available options
accordingly.

Once you complete the automation, you may define a path to
outside image and the file association to current record on
form (recommended method) or simply load the image into a
VARBIT column.

Syntax: RBBE filename.ext

Where filename.exe specifies an external ASCII text, RTF, or
image file.

The R:BASE R:BASE BLOB Editor recognizes the following image
formats:

. AFI
. BMP
. DCX
. EMF
. GIF
. ICO
. JPEG
. JPG
. PCC
. PCX
. PNG
. TIF
. TIFF
. TGA
. VST
. WMF

-- Examples 01:

The following will display the "Images" and "Multipage Images"
tabs of the Note/BLOB Viewer/Editor for you to load an image.

RBBEDIT

-- Examples 02:

The following will display a bmp image in the "Images" tab of
the Note/BLOB Viewer/Editor.

RBBE myphoto.bmp

-- Examples 03:

The following will display the RTF file in the "RTF" tab of
the Note/BLOB Viewer/Editor.

RBBE myfile.rtf

-- Examples 04:

The following will display the text file in the "Note/VarChar"
tab of the Note/BLOB Viewer/Editor.

RBBE mytext.txt

-- Examples 05:

You can also use the RBBEDIT command to launch the Note/BLOB
Viewer/Editor to create a "new" RTF file. The following will
display the "RTF" tab of the Note/BLOB Viewer/Editor for you
to create a new RTF file.

RBBE myfile.RTF

You may also refer to the following two articles related to
Managing BLOBs in R:BASE.

From the Edge: http://www.razzak.com/fte/

Managing BLOBs in R:BASE eXtreme 9.0  (12/19/2009)
Managing BLOBs in R:BASE 7.6 and Turbo V-8 (12/29/2008)

Imagine the possibilities!

Very Best R:egards,

Razzak.


Reply via email to