Demonstration
Introduction
Start RADpage
RADpage
Databases
    My Database Table
    Record Display
    Database Form
    My Database Form
    Formatted Table
    Text View
    Constraints
    Scroller
    Unique Search
    Search
Shopping
Programming
Use RADpage
    

My own Database Form

Now it is your turn to create your own database form. Click on Insert in the RADpage window, then select Database, and finally dbform. Choose a database relation (e.g. guestbook) to create a form for the guestbook relation. Finally, position the dbform on this page. A form containing some buttons and an empty table for your fields will show up.

You need to add fields next. Click on the dbform component handle (this page) to load it into the RADpage window, then click on the Add Fields link (in the RADpage window). A table of all possible fields appears. Check all fields you want to appear in your form (usually all). Then press save to add them to the database form.

Your form should be operational by now. Enter some data and press the modify button. This will enter the data into the database. Afterwards the form is redisplayed showing the database record you just entered.

Note You can easily customize the form's functionality. For instance, disabling the dbform and deleting or disabling the modify button prevents users from updating and inserting records. You enable or disable a form or a button by changing its state property in the RADpage window. Likewise, if you delete or disable the delete button, users cannot delete records.
Exercise Sometimes, users want to create a new record by editing the fields of an existing one. The copy button supports this technique. Let's add one to your registration form. Click on Insert, then on database, then select dbformbutton. Choose the type copy and place the button at a convenient location in your form.

Next


Created using RADpage web components
© 1996-2012 H.E.I. All Rights Reserved.