Skip to content

MvCLOSEVIEW#


Closes the specified SQL view opened with

Syntax
<MvCLOSEVIEW NAME = "string: {  expression } | literal"
             VALUE = "{ expression } | literal"> 

It’s good programming practice to close a view once you are finished working with it. This can prevent runtime errors if another process attempts to open a view using the same alias.

Attributes#

Attribute Description
NAME (Optional) Database alias. When a database is opened with MvOPEN, it is referenced by this alias. If omitted, the primary database is assumed.
VIEW (Required) The view alias that will be closed.

Example#

<MvCLOSEVIEW NAME="Merchant" VIEW="products">