This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
FORM EDIT

FORM EDIT 


 

FORM EDIT ( {aTable ;} form ) 
Parameter Type   Description
aTable  Table in Table owning the form or If omitted: default table or use of project form
form  String in Form name

The FORM EDIT command opens the form associated to aTable in the 4D Form editor. Note that you must have access to the Design environment, otherwise the error -9804 ("Cannot open form") is generated.

The command is asynchronous: it returns immediately to the calling method and does not wait for the form to be open.  

If you pass the optional aTable parameter, you indicate the table associated with form. If you omit this parameter, you indicate that form is a project form.

In the form parameter, pass the name of the form to open in the 4D Form editor.  If you pass a name that does not exist, the error 81 is generated ("Form not found").  

Example  

To open the Contacts table Address form:

 FORM EDIT([Contacts];"Address")

 

To open the ContactList project form:

 FORM EDIT("ContactList")



See also 

Design Object Access Commands

 
PROPERTIES 

Product: 4D
Theme: Design Object Access
Number: 1749

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v18 R5

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)