Trouble Viewing Images? Right-click on any image and select "Open in new tab" to view a larger version. You can also zoom in using Ctrl + Mouse Wheel for easier readability.
Summary
This article explains how to embed Command Tables directly into a View file in VDM. Embedding Command Tables allows Views to be shared without requiring users to separately import or manage external Command Table (.vdmct) files.
Tip: If you want all new Views to embed Command Tables automatically, see Enable Automatic Command Table Embedding in VDM.
Why Embed Command Tables?
Embedding Command Tables allows you to share Views without needing to separately distribute the associated Command Table file.
Benefits
| Benefit | Description |
|---|---|
| Simplified Sharing | Share a single View file without additional Command Table files. |
| Self-Contained Views | Embedded Command Tables travel with the View and remain available when opened on another workstation. |
| Easier Collaboration | Reduces setup requirements for users importing shared Views. |
Important: Without embedding, the receiving user must also receive and import the associated
.vdmctfile for the View to function correctly.
Viewing Embedded Command Tables
If you receive a View containing an embedded Command Table, there are several ways to access the embedded content.
| Method | Description |
| Text Editor | Open the View file in a text editor and locate the content between !!StartCommandTable!! and !!EndCommandTable!!. |
| Show SQL Query | Use Show SQL Query within VDM to preview the embedded Command Table syntax. |
| Request the Original File | Request the original .vdmct file from the sender if needed. |
Note: Command Tables are typically stored in the Profiles directory configured in the VDM Settings tab.
Steps to Embed Command Tables
1. Open a View
Open an existing View or create a new View that contains a Command Table.
Tip: You can embed Command Tables in both new and existing Views.
2. Open the View Options Ribbon
Select the View Options tab from the VDM ribbon.
Note: The View Options ribbon contains View-specific settings, including query behavior, display options, and embedding options.
3. Enable Command Table Embedding
Within the View Options ribbon, locate the Embed section and enable Command Tables.
Important: Enabling this option stores the current Command Table directly within the View file.
4. Save the View
Click Save to preserve the embedding configuration.
Result
The Command Table is now stored within the View file and will travel with the View when it is shared with other users.
What's Next?
After embedding a Command Table:
- Share the View without distributing a separate
.vdmctfile. - Open the View on another workstation without importing additional Command Table files.
- Extract the embedded Command Table later if modifications are required.
Related Articles
- How to Import a Command Table in VDM
- How to Find Stored Command Tables for Sharing in VDM
- Enable Automatic Command Table Embedding in VDM
Comments
0 comments
Article is closed for comments.