WebObjectByName - cWebObject

Searches for the object handle of a web object using its public name

Type: Function

Return Data Type: Handle

Parameters: String sObjectName Boolean bOptErr

ParameterDescription
sObjectNameName of the web object
bOptErr(Optional) Error


Return Value

If it can't find the object, it will cause an Error and return 0.


Syntax
Function WebObjectByName String sObjectName Boolean bOptErr Returns Handle

Call: Get WebObjectByName sObjectName bOptErr to HandleVariable


Description

This function searches for the object handle of a web object using its public name.

The object name can be obtained by calling the WebObjectName function on a web object.