title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Form.Query event (Access) |
vbaac10.chm13670 |
|
|
f3070a6f-3064-b496-ff9f-4da165205f90 |
03/08/2019 |
medium |
Occurs whenever the specified PivotTable view query becomes necessary. The query may not occur immediately; it may be delayed until the new data is displayed.
expression.Query
expression A variable that represents a Form object.
The following example demonstrates the syntax for a subroutine that traps the Query event.
Private Sub Form_Query()
MsgBox "A query has become necessary."
End Sub
[!includeSupport and feedback]