|
EDIT (Short Name: EDI)
|
|
| WINDOW_STATE value
|
|
|
| To setup Data Editor window state with the following supported values:
|
|
|
| MAXIMIZED - show maximized
|
| NORMAL - show normalized
|
| MINIMIZED - show minimized
|
|
|
| CAPTION value
|
|
|
| To change Data Editor window caption.
|
|
|
| LOCK nnn
|
|
|
| To lock a number of columns in Data Editor window.
|
|
|
| ROWVIEW
|
|
|
| To open Data Editor window in "View as Row" mode.
|
|
|
| READONLY value
|
|
|
| To open Data Editor window in Read-Only mode. (Default is OFF)
|
|
|
| · | ON
|
| · | OFF
|
|
|
| MODAL value
|
|
|
| To open Data Editor as modal/non-modal window. (Default is ON)
|
|
|
| · | ON
|
| · | OFF
|
|
|
| EXPORTRESULT value
|
|
|
| To enable/disable the "Export Result to->" menu item. (Default is ON)
|
|
|
| · | ON
|
| · | OFF
|
|
|
| SAVERESULT value
|
|
|
| To enable/disable the "Save Data As->" menu item. (Default is ON)
|
|
|
| · | ON
|
| · | OFF
|
|
|
| PRINTDATA value
|
|
|
| To enable/disable the "Print Data" menu item. (Default is ON)
|
|
|
| · | ON
|
| · | OFF
|
|
|
| · | You have not used the DISTINCT option in the command.
|
| · | You have rights to change the data in the specified table. Access rights are assigned with the GRANT command.
|
| · | The EDIT command will display the data within a multi-table View (a View based on multiple tables), but the data will not be editable.
|
| · | A View with a GROUP BY parameter is also not editable.
|
| The following command displays all columns in the transmastertable and orders the rows by the customer identification numbers contained in the custid column.
|
|
|
| EDIT * FROM transmaster ORDER BY custid
|
| The command below displays the following columns from the customertable: custid, company, custaddress, custcity, custstate, and custzip. The only rows that are displayed are rows that have 100 for a customer identification. The custid and companycolumns are specified to be read-only and cannot be edited. The command specifies that the display of the company column is to be ten characters wide.
|
|
|
| EDIT custid=READ, company=10=READ, custaddress, custcity, +
|
| custstate, custzip FROM customer WHERE custid = 100
|
| The following command open all records for the Customer table with a maximized Data Editor window and "Customer Data" as the caption.
|
|
|
| EDIT ALL FROM customer OPTION WINDOW_STATE MAXIMIZED|CAPTION Customer Data
|
|
|
| The following will start the Data Editor for custid 125, displaying the data as a single row in read only mode.
|
| EDIT ALL FROM customer WHERE custid = 125 OPTION WINDOW_STATE NORMAL|ROWVIEW|READONLY ON
|