Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

DynaPDF.GetFieldExpValCount

The function returns the number of values/export values which are defined for a field.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.GetFieldExpValCount"; PDF; Field )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"

Result

Returns number or error.

Description

The function returns the number of values/export values which are defined for a field.
Supported field types are combo boxes, list boxes, radio buttons, and check boxes. If the field is a radio button, the function returns the number of check boxes which are connected with the radio button. This number can be used to access the check boxes of the radio button either with DynaPDF.GetFieldExpValueEx or DynaPDF.SetFieldExpValue. If the field is a check box, the return value is always 1 because check boxes do not support multiple export values. However, this function is normally used to determine the number of available choice values within a combo box or list box because only these field types support multiple choice values. See also DynaPDF.GetFieldExpValueEx.
If the function succeeds the return value is the number of values/export values which are defined for a field.

See also GetFieldExpValCount function in DynaPDF manual.

See also


DynaPDF.GetFieldCount   -   DynaPDF.GetFieldExpValue

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins