For example, you can embed a view created with data from one table inside a form that takes its data from another table. Link clauses join information from different sources together. One form can contain several views or one view that contains data hierarchies. When you embed a view in a form, the Form Designer automatically creates a link clause that links the data in the view to the form. To learn more about what the control can do, see You can also insert GIF or JPEG files into the rich text field and create image maps. The HTML Edit control contains a toolbar that enables you to graphically apply formatting instead of coding HTML tags, although you can insert raw HTML into the document if you want. The HTML Edit control and the Page Designer are similar in that you do not have to know HTML to be able to use them. The Form Designer HTML Edit control is a Java-based HTML editor that enables you to include rich text and structured data on the same form. Including subforms and views in your form. To learn more about subforms in forms, see A subform can be content that you want to repeat on all your forms, like a footer or a menu bar, or it can be associated with another database table, enabling you to update multiple tables in the form. Using subforms allows you to design reusable interface components. The way you display the form determines whether it is a dialog box.Ī form that you include within another form is called a subform. For example, you could design a form that asks the user to respond to a prompt before continuing on to another activity. For more information, see the chapter on DSOs in the Programmer's Guide.Ī dialog box is a form that requires a response from the user before the user can continue with the application. Your form can also get its data from a data source business object (DSO). The Form Designer lets you arrange the data fields and labels as needed. These data fields are data-bound to database columns and changes the user makes can be updated in the database. The Form Designer enables you to select not only the table you want your form to use, but also the data fields to include in the form. Only the primary table associated with the form is updateable. There are basically two kinds of forms:įorms are attached to one or more database tables, depending on the table relationships. You should understand the following concepts before you use the Form Designer.Ī form is an interface between the user and the data the user wants to access. Including subforms and views in your formĬreating validation rules for form fields Using the Component Gallery and the Component Palette SilverStream makes it easy with a powerful Form Designer and Property Inspector. Without SilverStream, building an interface to your application can be laborious and time-consuming. You can also create subforms to include in your forms. You can create a form using either the Form Wizard or the Form Designer without the wizard. The Form Designer gives you an object-oriented, visual environment for creating graphical forms and other user interface elements.
0 Comments
Leave a Reply. |