is_it_int_field
Object and Type
Object : FCApp
Type : Method
Prototype
Public Function is_it_a_field(tbl_name As String, _
field_name As String) As Boolean
Description
This method returns whether a given field is defined (in the specified table) as an integer field.
Parameters
Parameter Name | Required? | Description |
---|---|---|
tbl_name | Yes | Name of the table |
field_name | Yes | Name of the field |
Returns
A boolean (true/false) that tells if the field is a valid integer field in the specified table.
Example
The example shows if "objid" is a valid integer field for the case table.
Visual Basic:
Debug.Print "Is 'objid' a valid integer field in the 'case' table? " _
& CStr(FCApp.is_it_int_field("case", "objid"))