You need first to create the method, and then to add it to the property tab to create a button for calling the dialog.
-
Right-click the User metaclass and select .
-
Name the new method ShowAdvancedExtendedAttributes, and then click the Method Script tab and enter the following script:
Sub %Method%(obj)
' Show custom dialog for advanced extended attributes
Dim dlg
Set dlg = obj.CreateCustomDialog("%CurrentTargetCode%.Advanced Teradata Attributes")
If not dlg is Nothing Then
dlg.ShowDialog()
End If
End Sub
-
Select the Teradata property tab in the ProfileUserForms folder, click the Method Push Button tool in the Form tab toolbar, select the new method, and then click OK to add it to the form.
-
Enter Advanced... in the Label field, and then click Preview to see the new button at the bottom of the property tab: