PRIM_WEB.File - Blob Property

File stored as a Blob

Member of PRIM_WEB.File (PRIM_WEB.File)

Data Type - String

Details

The Blob property returns the file as a Blob.
 
This simplifies the management of the object allowing it to be stored in a field and easily sent to the server.

Example

In this example, when a file is selected, the file name is used and the Blob is used to populate an image control as well as a Blob field.
Evtroutine Handling(#FilePicker.FileSelected) File(#File)
 
   #Filename := #File.Name
   #Image.FileName #xDemoblob := #File.Blob
 
Endroutine

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2