This procedure enables you to assign an external macro data source to one or more loop numbers.
-
To be able to use an external macro source, you need to establish a connection to the macro source in the Define External Macro Source dialog.
-
In your target drawing blocks or symbols, you need to add the E_ prefix to the macros which you want to use to retrieve data from an external macro source.
-
Press F7 to open the Domain Explorer and then expand the hierarchy to the loop level in the Loops folder.
-
In the tree view , right-click one or more required loops and select Actions > Assign External Macro Source.
-
Under the Macro Source column, do one of the following:
-
If your macro source is an ODBC profile, type the exact path and the file name of the source database file.
-
If your macro source is a specific table on Oracle or SQL Server, you need to type the exact table name.
-
If you want to assign the same macro source to all the loop numbers displayed in the Assign External Macro Source dialog, select a row with the required macro source and then select Apply same source to all displayed loop numbers.