Skip to main content
Version: Next

Get external data path

Get external data path ( aField ) -> Function result

ParameterTypeDescription
aFieldText, BLOB, Picture🡒Field whose storage location you want to get
Function resultText🡐Full pathname of external storage file

Description

The Get external data path command returns the full pathname of the external storage file for the data of the field passed in the aField parameter, for the current record. You must pass fields of the Text, BLOB or Picture type in the parameter. The command returns the pathname of the storage file even if the file does not exist or is not accessible.

More particularly, this command lets you recopy the external file.

Note: For more information about external storage, refer to the Design Reference manual.

This command returns an empty string in the following cases:

  • The field is not stored outside of the data file.
  • The field has a Null value (and does not contain a pathname).
  • The command is executed from a remote 4D.

See also

SET EXTERNAL DATA PATH