GetFieldStringValue

Description

Returns the list of values of the specified field as a single String.

This method is equivalent to first calling the GetFieldValue method to obtain a FieldInfo object and then calling the GetValue method of the FieldInfo object. This is a more direct and more efficient way to get the value of a field.

Note: This method became available in version 2003.06.00.

Syntax

VBScript


entity.GetFieldStringValue field_name 

Perl


$entity->GetFieldStringValue(field_name); 
Identifier
Description
entity
An Entity object representing a user data record. Inside a hook, if you omit this part of the syntax, the Entity object corresponding to the current data record is assumed (VBScript only).
field_name
A String that identifies a valid field name of an Entity.
Return value
A String that contains the value or values stored in the field.

Example

Perl

my $fieldvalue = $entity->GetFieldStringValue($fieldname);
# instead of calling
# my $fieldinentity1bj = $entity->GetFieldValue ($fieldname);
# my $fieldvalue = $fieldinentity1bj->GetValue ();