ComponentOne Query 8.0
MainViewName Property

Syntax

C1Query.MainViewName = string

Notes

Read/Write at run time and design time. Property applies to C1Query control.

Description

This property sets/returns the main view name identifying the currently active viewset (sub-schema) in a multi-viewset schema. A multi-viewset schema is a schema consisting of multiple sets of views independent of each other. Views belonging to different viewsets cannot be joined together in a single SQL statement. Only fields belonging to the active viewset will be shown to the end user in the associated C1QueryFrame controls.

Set the MainViewName property when you need to switch from one viewset to another.

See Also

MainViewCount property

MainViewNames property

Modifying Schema and Field List at Run Time

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback