|
If a database tag does not explicitly name an alias, the primary alias is implied. An database alias can be explicetly made the primary alias using
Several database aliases can be open at the same time, but one alias is said to be the primary alias. This is the default alias for all database operations except creating and opening a database. with the exceptions <MvCREATE> and <MvOPEN>, if the NAME attribute is not specified by a database tag, that tag's action will be performed on the database pointed to by the primary alias. By default, the primary alias is the last open to be opened with <MvOPEN> or <MvCREATE>. If more than one alias is open, <MvPRIMARY> makes the NAME alias the primary one. Attributes
The alias database must currently be open or a runtime error will occur. Example:<MvPRIMARY NAME="employees" INDEX="emp_start.mvx"> |