BROWSE.VIEW()

Syntax

<BROWSE> as P = BROWSE.VIEW( Browse_Name as C [, Style as C [, Window_Name as C [, Window_Name as C [, Horizontal_Position as N [, Vertical_Position as N ]]]] )

Argument

 

Description

Browse_Name

V5

The name of the browse to open. In the case where there are duplicate browse names in the database, you can qualify the browse name with the table name using this syntax: Browse Name@Table Name. For example, if a database has a browse called "Customers" for the "Current_Customers" and the "Past_Customers" tables, you can specify the browse as: "Customers@Current_Customers", or "Customers@Past_Customers".

Style

V5

Optional. Default = "Dialog". Determines the mode of the browse.

  • "Popup" = Single line display, ready to accept a new record.

  • "Dialog" = Display of top N records of the table.

Window_Name

V5

Not applicable.

Horizontal_Position

V5

Optional. Default = "center". The horizontal position of the window. Possible values are:

  • "left"

  • "right"

  • "center"

  • "fill"

V6

  • "pixel_coordinate"

Vertical_Position

V5

Optional. Default = "center". The vertical position of the window. Possible values are:

  • "top"

  • "bottom"

  • "center"

  • "fill"

V6

  • "pixel_coordinate"

Description

BROWSE.VIEW()opens Browse_Name, displaying all records, and returns the <Browse> object pointer. See FORM.LOAD() for details.

NOTE : The BROWSE.VIEWQUERIED(), introduced in V5. is more versatile than the BROWSE.VIEW() method because it allows you to specify an optional filter/order expression to select which records are displayed in the browse window.

Supported By

Alpha Five Version 5 and Above

Limitations

Desktop applications only.

See Also

Browse Functions and Methods