Query SQL (Object)

Member of:

Fields collection

Description:

Sets the last SQL (Structured Query Language) sent to the database when the Process button (in Query) was used.

Example:

This example shows how to identify the Query SQL field in an Alert box:

Alert(ActiveDocument.Sections["Report"].Body.Fields["Query SQL"].Name)

Methods:

Layer(Value as BqLayer), Spring (Name As String), UnSpring()

Properties:

Read-write: Formula as String, HorizontalAlignment as BqHorizontalAlignment, Text as String, TextWrap as Boolean, VerticalAlignment as BqVerticalAlignment

Read-only: Name as String, Type as BqShapeType

Objects:

LineFormat object, FillFormat object, FontFormat object