DBWLoadQuery

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Library Reference > Database >

DBWLoadQuery

Description

Loads the specified sql query in the Query Page

Syntax

Function DBWLoadQuery(Title, Query)

Parameters

Title

a name for the query to load

Query

sql statement

Results

It load a query in the Query page. You obtain the same result as you click on Load button and select a sql file.

See also

Function DBWLoadQuery1

Example

Sub Main()
    title = "Only_projects"
    query = "SELECT * FROM DOCUMENT WHERE T='0'"
    DBWLoadQuery title, query
end sub

Example with large working sets

Sub DBWLoadQuery with large working sets