4D v16.3

CREATE USER FORM

Home

 
4D v16.3
CREATE USER FORM

CREATE USER FORM 


 

CREATE USER FORM ( aTable ; form ; userForm ) 
Parameter Type   Description
aTable  Table in Source form table
form  String in Source table form name
userForm  String in Name of new user form

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.

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

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.



See also 

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

 
PROPERTIES 

Product: 4D
Theme: User Forms
Number: 808

The OK variable is changed by the commandThis command modifies the Error system variableNot for server

 
HISTORY 

Created: 4D 2004

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)