NoRequery

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > Browser >

NoRequery

available from build: 20040709

Description

It causes DBWorks to stop requerying the Browser, if opened.
Can be used to launch multiple commands that will cause the Browser to requery, and to invoke the Requery command only at the end of the sequence.

Syntax

call DBWShell("NoRequery activate")

Parameters

activate

[0/1]
0: usual behaviour
1: cause DBWorks to stop requerying the Browser, if opened

See also

Requery command

Example:

Sub Main()

 DBWInit(TRUE)
 DBWShell("NoRequery 1")
 < command that updates the database >
 < command that updates the database >
 ...
 < command that updates the database >
 DBWShell("NoRequery 0")
 DBWShell("Requery")
End Sub