CREATE USER FORM

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 2004


CREATE USER FORM (aTable; form; userForm)

ParameterTypeDescription
aTableTableSource form table
formStringSource table form name
userFormStringName of new user form

Description

The CREATE USER FORM command duplicates the 4D table form whose table and name are passed as parameters and creates a new user form named userForm.

Once created, the userForm form can be modified using the EDIT FORM command. This command allows you to create X user forms (for example, various report forms) from a single source form.

See Also

DELETE USER FORM, EDIT FORM, INPUT FORM, LIST USER FORMS, OUTPUT FORM, Overview of user forms.

System Variables or Sets

The OK variable returns 1 if the operation is executed properly; otherwise, it returns 0.

Error Handling

An error is generated if:

form is already a user form,

the name of userForm is the same as the name of the source form or an existing user form,

the user cannot access the form because they do not have the proper access rights.

You can intercept these errors with the error-handling method installed by the ON ERR CALL command.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next