Show / Hide Table of Contents

is_it_a_table

Object and Type

Object  : FCApp

Type     : Method

Prototype

Public Function is_it_a_table(tbl_name As String) As Boolean

Description

This method returns whether a given table name is defined in the database as a valid table. This method does not work on views, only on tables.

Parameters

Parameter Name Required? Description
tbl_name Yes Name of the table

Returns

A boolean (true/false) that tells if the table name is valid.

Example

The example shows if "site_part" is a valid table in the database.

Visual Basic:

Debug.Print "Is 'site_part' a valid table name? " & _
            CStr(FCApp.is_it_a_table("site_part"))
Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.