blob: 72ff9f1a53d92d3f0b42e450433f916574aeaf4d [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 transitional//EN">
<html>
<head>
<title>BIRT Tutorial</title>
<link rel="stylesheet" href="../style/compose.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p class="head">BIRT Tutorial</p>
<p class="subhead">Building a Data Source</p>
<h1>About Data Sources and Data Sets</h1>
<p>
BIRT reports use a <i>data source</i> to connect to a database or other data provider. BIRT uses a <i>data set</i> to retrieve data from the
data provider. Think of the data source as a connection, and the data set
as a query.
<h1>Build a Data Source</h1>
<p>
Let's build our data source:
<ul>
<li>Open the Data Explorer, if it is not already visible.
<li>Select the Data Sources node within the tree view.
<li>Right-click to open the context menu.
<li>Choose New Data Source. The New Data Source dialog appears.
<li>Choose Classic Models Inc. Sample Database.
<li>In the Data Source Name field,
enter &quot;Sample&quot;.<li>Click Finish.
</ul>
<p>
Your new data source appears within the Data Sources node in the Data Explorer.<h1>Editing your Data Source</h1>
<p>
<p>
For future reference, let's review how you would go about changing the data source, although these instructions <strong><em>do not apply</em></strong> to the Classic Models Inc. Sample Database; that data source does not allow editing:
<ul>
<li>Find or open the Data Explorer.
<li>Open the Data Sources node.
<li>Double-click the data source.
<li>The Data Source editor opens. You can make any needed changes.
<li>Click OK to save your changes.
</ul>
</body>
</html>