|
EDIT (Short Name: EDI)
|
|
| · | 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
|