%META:TOPICPARENT{name="VirtProgressEntityFrameworkUsage"}%

===Linking Tables from Progress into Virtuoso===

1. Start the Virtuoso Web User Interface.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtWebHome.png" style="wikiautogen"/>%BR%%BR%
   
2. Select the **Conductor** link in the Left Frame and Login as the **dba** user.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtConductor.png" style="wikiautogen"/>%BR%%BR%
   
3. Select the **Databases** -> **External Data Source** -> **Data Sources** tab menu items.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs0.png" style="wikiautogen"/>%BR%%BR%
   
4. Select the **Connect** button for the **prs10ma** Progress DSN.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs1.png" style="wikiautogen"/>%BR%%BR%
   
5. On successful connection, select the **Link Objects** button to obtain a list of available tables.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs2.png" style="wikiautogen"/>%BR%%BR%
   
6. Select all the tables that are part of the **isports** catalog.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs3.png" style="wikiautogen"/>%BR%%BR%
   
7. Change the Catalog for each table to be **isports** using the **Set All** button.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs4.png" style="wikiautogen"/>%BR%%BR%
   
8. All the catalog names are changed to be **isports**.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs5.png" style="wikiautogen"/>%BR%%BR%
   
9. Select the **Link** button to link the selected tables into Virtuoso.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs6.png" style="wikiautogen"/>%BR%%BR%
   
10. On completion of the Link process, the tables will be displayed in the **External Linked Objects** tab.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs7.png" style="wikiautogen"/>%BR%%BR%
   
11. At this point, you can test the remotely linked tables by clicking on the link that accompanies each table, e.g. isports.prs101c.Customer.%BR%%BR%
This will display the Interactive ISQL interface which will have been already populated with a suitable SQL statement.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs7a.png" style="wikiautogen"/>%BR%%BR%
   
12. Select <b>Execute</b> to see data from the remotely linked table.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs7b.png" style="wikiautogen"/>%BR%%BR%
   
13. The tables can also be viewed as part of the Virtuoso **SQL Schema Objects** under the **isports** catalog name.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkPrs8.png" style="wikiautogen"/>%BR%%BR%

The Link process is now complete enabling the tables to be queried as if part of the Virtuoso Schema.