How to: Add FastTabs to a Form [AX 2012]
Updated: November 18, 2011
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
You add a FastTab to a form when you want a collection of fields to appear in an expandable and collapsible section of the form. You can add FastTabs to the details view of several types of forms. If you use a form template to create the form, the template adds controls for FastTabs. In addition, you can add a FastTab to a form that has an existing collection of FastTabs. For more information about forms and FastTabs, see FastTabs.
To add the tab control
In the application object tree (AOT), expand Forms and then find and expand the form where you want to add the FastTab.
If you want to add a FastTab to a form that has an existing collection of FastTabs, you do not have to add a new tab control. To add the FastTab, you should add a tab page to the existing tab control. To learn how to add a tab page to a tab, proceed to the next section.
Expand Designs, expand Design, and then find the group control or tab page control where you want to add the FastTab.
Right-click the group, or the tab page control where you want to add the tab, click New Control, and then click Tab.
Right-click the tab control and then click Properties. Use the property sheet to specify values for the following properties:
Type a name that uniquely identifies the tab.
To add the tab page control
In the Design node of the form, find the tab where you want the FastTab to appear. This could be the tab you added in the earlier section or an existing tab where the Style property is set to FastTabs.
Right-click the tab control, click New Control, and then click TabPage. A tab page is added to the tab.
Right-click the tab page and then click Properties. Use the property sheet to specify values for the following properties:
Specify a label that identifies the fields that appear in the FastTab. The Caption value appears as the title for the FastTab.
Specify the number of columns that appear in the FastTab. A FastTab should have two columns but can show three columns. The default value is Auto.
Specify whether the FastTab appears expanded or collapsed. The default value is Auto.
Type a name that uniquely identifies the tab page on the form.
To add field values to the tab page
Right-click the Data Sources node of the form, and then click Open New Window. The list of data sources appear in a second AOT window.
In the second AOT window, expand Data Sources, expand the table that contains the fields you want to add to the FastTab. Expand Fields so that you can view the field and field groups for that table.
Drag the field group or field onto the tab page control that you added earlier. A control is added to the tab page for each field. Repeat this step for each field group or field that you want to appear in the FastTab. You should not add more than four field groups to the tab page.
To specify the summary fields
In the tab page, click the control you want to modify. The properties for the control appear in the Properties window.
In the property sheet, click the FastTabSummary property, and then click one of the following values:
The default value. Use this value when you want the values of the first five fields that are members of the AutoSummary field group of the table to appear as summary fields.
Use this value when you want to prevent a field value from appearing as a summary field.
Use this value when you want the value in the selected control to appear as a summary field.
Right-click the form and then click Save.
Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.