CREATE USER FORM

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2004


CREATE USER FORM (table; form; userForm)

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

Description

The CREATE USER FORM command duplicates the 4th Dimension 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   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next