Skip to content

Search_File_Name - cWebAspClassicObject

Returns the table number for the passed table name

Type: Function
Return Data Type: Integer

Parameters

Parameter Type Description
sFileName String Table name to search for

Syntax

Function Search_File_Name String sFileName Returns Integer

Call Example

Get Search_File_Name sFileName to IntegerVariable

Description

Search_File_Number is a helper function that matches a table name with a table and returns its field number. If a match is not found, -1 is returned.

MapToFileNumber calls Search_File_Name to perform the find (no error).

Return Value

Table number for the passed table name