Developer’s Guide

Table Of Contents
11-16 Developer’s Guide
3. In the DataBound Project Wizard, select Application for the project
type and click Next.
4. Select Define another data source and click Next.
5. In the DataBound Project Wizard, click New.
6. In the Insert Datasource dialog box, click Add Driver.
7. In the Add Third Party Driver dialog box, type
com.fmi.jdbc.JdbcDriver and click Add.
8. In the Insert Datasource dialog box, select com.fmi.jdbc.JdbcDriver,
type
fmpro in the Vendor SubProtocol box, type
http://localhost in the Vendor SubName box (or the IP
address of the computer hosting the inventory_db database), and
then click Add Driver.
9. In the DataBound Project Wizard, select com.fmi.jdbc.JdbcDriver in
the list of data sources and click Next.
10. In the User Authentication dialog box, click OK.
The inventory_db database is not password protected.
11. In the DataBound Project Wizard, select inventory_db in the list
of database tables and views, and click Next.
12. Click Clear to move all the used columns to the Available
Columns list.
13. Select the following columns and move them to the Used
Columns list by selecting each one and clicking Move.
Item
Category
Location
Cost
Date Purchased
Picture
Serial Number
Information
14. Click Next.
15. In the DataBound Project Wizard, select Picture and choose
ImageViewer from the Component list to change the UI component
used for displaying the Picture column.
16. Click Finish to generate the code.
17. Choose Project menu > Execute to run the application.