Brilliant Database Software - Home
Database software - Online Help System

Online Help System

Back to Brilliant Database Web-Site | Write to Support | Help Index



Change Image/File Field Value

table border="0" width="100%" cellspacing="0" cellpadding="4" bgcolor="#00000077">
Change Image/File Field Value

Parameters: Field, PathToFile

Set a picture/file for the field specified in the Field parameter from a file specified in the File parameter. File is a text formula parameter, so it can contain variables, field values, etc.

File can be a path to a local file or an URL to a file in the Internet.

Examples:

  • Change Image/File Field Value ([Photo],"C:\my_photo.gif")
  • Change Image/File Field Value ([Photo],"[$path_to_file]")
  • Change Image/File Field Value ([File], "D:\Project X\[DocName].doc")
  • Change Image/File Field Value ([File], "http://www.brilliantdatabase.com/des/logo.gif") - download an image file from the web.

If a value of a field is changed with the help of this command, the "On Edit" script will not be called for the changed field. This script is called only if a field is edited manually.

You can call this script using the Execute field's script action.



All topics in the "Fields Operations" section: