4D v14.3NO DEFAULT TABLE |
|||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
NO DEFAULT TABLE
NO DEFAULT TABLE
The NO DEFAULT TABLE command is used to cancel the effect of the DEFAULT TABLE command. After this command is executed, there is no longer any default table defined for the process. This command concerns the use of project forms (forms not linked with tables): most of the commands related to forms (apart from user forms) accept an optional aTable parameter as their first parameter. For example, this is the case with the FORM GET PARAMETER, Open form window or DIALOG commands. Since a project form and table form can have the same name, this parameter can be used to determine the form to be used: pass the aTable parameter when you want to target the table form and omit it in the case of a project form. In a database containing a project form named “TheForm” and a table form with the same name for the [Table1] table: However, this principle is null and void if the DEFAULT TABLE command is executed when the database contains a project form and a table form with the same name. In fact, in this case 4D will use the table form by default, even if the aTable parameter is not passed. In order to guarantee the use of project forms, simply use the NO DEFAULT TABLE command. |
PROPERTIES
Product: 4D
HISTORY
Created: 4D v11 SQL SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v12.4) Inherited from : NO DEFAULT TABLE ( 4D v11 SQL Release 6) |
|||||||||||||||||||||||||||||||||||||||||||||