• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. 繁體中文
    4. Čeština
    5. Deutsch
    6. English (UK)
    7. Español
    8. Français
    9. Magyar
    10. Italiano
    11. 日本語
    12. 한국어
    13. Polski
    14. Português (Brasil)
    15. Русский
AutoCAD 2025 Developer and ObjectARX
    • Customization and Administration Guides
    • DXF Reference
    • AutoLISP and DCL
    • ActiveX and VBA
      • ActiveX: Developer's Guide
      • ActiveX: Reference Guide
      • ActiveX: CAD Standards Plug-ins Reference
      • ActiveX: Sheet Set Object Reference
      • ActiveX: Transmittal Object Reference
      • ActiveX: Connectivity Automation Object Reference
        • Developer's Guide
        • Reference Guide
          • Objects
            • DbConnect Object (ActiveX/CAO)
            • KeyDescription Object (ActiveX/CAO)
            • KeyDescriptions Collection (ActiveX/CAO)
            • KeyValue Object (ActiveX/CAO)
            • KeyValues Collection (ActiveX/CAO)
            • Label Object (ActiveX/CAO)
            • LabelTemplate Object (ActiveX/CAO)
            • LabelTemplates Collection (ActiveX/CAO)
            • Link Object (ActiveX/CAO)
            • Links Collection (ActiveX/CAO)
            • LinkTemplate Object (ActiveX/CAO)
            • LinkTemplates Collection (ActiveX/CAO)
            • Queries Collection (ActiveX/CAO)
            • Query Object (ActiveX/CAO)
          • Events
          • Methods
          • Properties
    • ObjectARX and Managed .NET
    • JavaScript
    • AutoCAD Core Console
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    Query Object (ActiveX/CAO)

    A stored database query.

    VBA class name: Query

    Create using: Queries.Add

    Access via: Queries.Item

    To create a query, use the Add method of the Queries collection. To edit or examine a query, use the following properties:

    Methods Properties Events

    None

    Catalog

    DataSource

    DbConnect

    Document

    Name

    Schema

    Table

    Text

    None

    Related Reference

    • CAO Objects, Methods, and Properties Reference (ActiveX/CAO)
    • Queries Collection (ActiveX/CAO)

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved