Advertising banner:
 
 
 A337
 
[Link]Creating FCAS applications



Creating FCAS applications
With minor variations, you follow the same basic steps to create all applications.
An FCAS application is created as a project which consists of:
       forms
       code modules
       database objects (if the application is connecting to a database).
To work with a project, use the FirstClass RAD Project Manager, which provides access to:
       information about the project as a whole
       information about the forms in the project
       database connection information, for applications that connect to databases
       information about the database tables to use, for applications that connect to databases.
The FirstClass RAD Project Manager also lets you run your application for testing purposes, without having to rebuild and reinstall every time you want to test.



Creating a new project
To create a project:
1       Connect, as an administrator, to the server where FCAS is installed.
        Use the settings file that contains the resources needed for this project.
2       Start FCAS.
3       Click New on the Project tab in the FirstClass RAD Project Manager.
4       Type the project name (maximum 23 characters, no spaces).



Opening an existing project
To open a project:
1       Click Open on the Project tab in the FirstClass RAD Project Manager.
2       Select the project.



Setting project attributes
Project attributes apply to the project as a whole. To set these attributes:
1       Click Options on the Project tab in the FirstClass RAD Project Manager.
2       Fill in the fields for each tab on the Project Attributes form.



Adding forms to projects
To add a form to a project:
1       Click New on the Form tab in the FirstClass RAD Project Manager.
2       Choose the form.
The form opens and the attributes are displayed.
Setting form attributes
Form attributes (the form's name, title, and tables for bound columns databases) apply to the form as a whole, rather than to individual fields on the form.
To set form attributes:
1       Select the form on the Form tab in the FirstClass RAD Project Manager.
2       Click Modify.
3       Fill in the fields on the Form tab on the Attributes form.
4       Bind the form to database tables, if required.
Click Add, choose a table at "Select a table".
5       Press Tab to save your changes before closing the Attributes form.
Setting field attributes
Field attributes apply to the individual fields on a form.
To set the attributes (name and table/column for bound columns databases) for a field:
1       Select the form on the Form tab in the FirstClass RAD Project Manager.
2       Click Modify.
3       Click the field.
4       Fill in the fields on the Field tab on the Attributes form.
5       Bind the field to a database table, if required.
Choose the appropriate table at "Table", then choose the appropriate column from this table at "Column".
Removing forms from projects
When you remove a form from a project, all of the configuration and code that was assigned to the form is also removed. You cannot undo this operation.
To remove a form from a project:
1       Select the form on theForm tab in the FirstClass RAD Project Manager.
2       Click Remove.


hirosue Shino Web Site