You are here: Function Reference > Alphabetical Listing > H > HaveLogo

HaveLogo

Use this function to determine if a graphic (LOG) exists on a section or form which is in the current form set.

Syntax

HaveLogo (Graphic, Section, Form, Group)

Parameter

Description

Graphic

Enter the name of the graphic you want to find. Graphic names are assigned in Studio.

Section

Enter the name of a section that contains the graphic you specified. The default is the current section.

Form

Enter the name of a form that contains the section you specified. The default is the current form.

Group

Enter the name of a group to use to locate the graphic. The default is the current group.

The system returns one (1) if it finds the graphic and zero (0) if it does not.

Keep in mind you can use an asterisk (*) as the object name to match parent objects. This lets you find objects without explicitly knowing the parent names.

Note For optimal performance, avoid using wildcards (*) when searching for field, section, or form names.

Example

Here are some examples:

Function

Result

Explanation

HaveLogo( "Log1")

1 or 0

Determines if Log1 exists on the current section, form, group.

HaveLogo("Log1", "IMH1\3","UpRate")

1 or 0

Determines if Log1 exists on the 3rd occurrence of the section, IMH1, on the form, UpRate, within the default group.

See also