|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > Database > DBWLoadQuery |
Loads the specified sql query in the Query Page
Function DBWLoadQuery(Title, Query)
Title |
a name for the query to load |
|---|---|
Query |
sql statement |
It load a query in the Query page. You obtain the same result as you click on Load button and select a sql file.
Function DBWLoadQuery1
Sub Main()
title = "Only_projects"
query = "SELECT * FROM DOCUMENT WHERE T='0'"
DBWLoadQuery title, query
end sub