18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Database Interface<br />

The Connection tab of the property sheet is displayed:<br />

Specifying the location of the file<br />

4. In the Data Source text box, type the complete file path for your ACCDB file.<br />

Although the file can be located anywhere on your computer or network, it may be useful to keep it in your<br />

project folder. For example:<br />

C:\Users\username\Documents\<strong>InduSoft</strong> Web Studio v7.1 Projects<br />

\project_name\Database1.accdb<br />

If you do this, however, then you must update the file path whenever you move the project folder.<br />

5. Specify the User name and Password, if any, for the ACCDB file.<br />

6. Click Test Connection.<br />

If a connection can be successfully established, then an appropriate message is displayed.<br />

7. Click OK to save your changes and return to the Database Configuration property sheet.<br />

Note: Be sure to select (check) the Disable Primary Keys option in the Database Configuration dialog. If<br />

you do not, then IWS will not be able to connect to your Access database<br />

Important: Desktop office applications such as Microsoft Access and Microsoft Excel cannot<br />

efficiently handle large amounts of data. If you try to save all of your project's historical data in<br />

an Access database or Excel spreadsheet, then the queries will become slow and you might get<br />

unexpected results. Therefore, we recommend that Access or Excel be used only as a Secondary<br />

Database, with the Store and Forward option enabled, or to relay data to third-party software.<br />

To handle large amounts of historical data, we recommend that you use either IWS's proprietary<br />

format or a dedicated relational database such as Microsoft SQL Server or ORACLE.<br />

Using SQL Server CE<br />

IWS projects running in CEView can interface with Microsoft SQL Server CE (SQL CE) databases on the same<br />

device by using the OLEDB Provider for SQL Server CE. This provider must be installed on your Windows<br />

Embedded device.<br />

<strong>InduSoft</strong> Web Studio Page 507

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!