Developer’s Guide

Table Of Contents
9-14 Developer’s Guide
5. Click Generate.
The Application Generator generates the source code and adds the
generated files to your project.
6. Click Close All.
7. Choose Run menu > Run Application to execute the example
application.
The field attributes used for the example from the Inventory.fp5
database are described in this table:
Example 3: Creating the Visual Cafe
Inventory application
This example demonstrates how to build a Java front end to a
FileMaker database using the development tool Symantec’s Visual
Cafe 4.0 Expert Edition for Windows and the FileMaker JDBC
Driver. The following steps are for creating a Java application that
accesses the inventory_db database.
Note Because the Visual Cafe DataBound Project Wizard does not
support spaces in database filenames or field names, or periods and
spaces in table names, this example uses a modified version of the
Asset Management.fp5 database that ships with FileMaker Pro,
called inventory_db (with no filename extension).
Field type Field name Field attribute
Text Item User defined entry field
Text Category Value List/Category List (Pop-up menu)
Office Furniture
Computers
Telephones
Vehicles
Copier
Printer
AV
Text Location Value List/Location List (Pop-up menu)
Fred’s Office
Dirk’s Office
Pedro’s Office
Anne’s Office
Julie’s Office
Ruth’s Office
Joanna’s Office
Business Center
Number Cost User defined entry field
Date Date Purchased User defined entry field
Container Picture Graphic import
Text Serial Number User defined entry field
Text Information User defined entry field
Field type Field name Field attribute