How to open a form?

Understanding basics of 1C:Enterprise platform. To start working with 1C:Enterprise platform visit Getting started page

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Dec 3, 2013
Company:

hi, i have a catalog named USER. and this catalog have 2form(Form1, Form2). Form1 have a one button. If button is clicked, must call Form2. How to call Form2? :)

 
#2
People who like this:0Yes/0No
Active user
Rating: 7
Joined: Sep 26, 2012
Company: individual

You can use function OpenForm or GetForm like following:

Code
OpenForm("Catalog.User.Form.Form2");

Form2 = GetForm("Catalog.User.Form.Form2");
Form2.Open();

Edited: ivan avdonin - Dec 10, 2013 12:42 AM
 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.