Building Pages that Modify Databases MX comes with a set of server behaviors that let users add, update, and delete records with their web browsers. You can also use application objects to create fully functional HTML forms for inserting or updating records. Building a page to insert records
Your application can contain a page that lets users insert new records in a
database. For example, the following page inserts a new record in an employee
database:
An insert page requires two building blocks:
You can add these building blocks in a single operation using the Record Insertion Form live object, or you can add them separately using the form tools and the Server Behaviors panel. Note: The insert page can contain only one record-editing server behavior at a time. For example, you cannot add an Update Record or a Delete Record server behavior to the insert page.
Building an insert page rapidly
You can add the basic building blocks of an insert page in a single operation
using the Record Insertion Form live object. The live object adds both an
HTML form and an Insert Record server behavior to the page.
You can also add the building blocks separately using the form tools and the Server Behaviors panel.
To build the insert page with the Record Insertion
To edit the server behavior, open the Server Behaviors panel (Window > Server Behaviors) and double-click the Insert Record behavior.
1 2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 422