Entering content frame

 Inserting Data Records 

Use

You can use the Form dialog to insert new data records in tables in a screen display.

Prerequisites

·         You have selected change mode for executing the Form dialog.

·         You have the required user authorizations.

For an explanation of user authorizations, see the User Concept section of the documentation Database Administration.

Procedure

...

       1.      In the screen display, choose Form Dialog ® New. An empty input form opens.

       2.      Enter your data. Note the following:

¡        The names of key columns are emboldened.

¡        For a NULL value, enter the display of the NULL value according to your user settings (?, for example).

¡        If you leave a field blank when you insert a data record, the system interprets this in the following ways:

§         If a DEFAULT value is defined for the relevant column, this value is copied to the database table.

§         If no DEFAULT value is defined for the relevant column, the NULL value is copied to the database table.

¡        You can import and export the contents of LONG columns.

       3.      Choose Insert. SQL Studio stores the new data record in the table.
Another input form opens. You can enter further data directly and insert this as data records.

       4.      If you do not want to insert any more data records, deselect Form Dialog ® New.

       5.      To view the new data records in a list display, choose Refresh and then Report.

When you insert data records, you can use an existing data record from the same table as a template. Scroll to this data record, enter your changes, and choose Insert. The data record is inserted in the table as a new data record.

 

Leaving content frame