Page 1 of 1

Duplicate complete form with fields

Posted: Sun Apr 04, 2021 1:28 pm
by Olikun
Hello,

my current question.

How can I duplicate a complete form with fields?

If I click Duplicate now, will the form be duplicated without any fields?

Re: Duplicate complete form with fields

Posted: Sun Apr 04, 2021 1:38 pm
by kev1n
Use the Cloner (Database tab)

Re: Duplicate complete form with fields

Posted: Sun Apr 04, 2021 2:00 pm
by Olikun
I found it and tried it, but nothing happened

No new form will appear in the form list

I just want to clone the form, not the database


Image

Image

Re: Duplicate complete form with fields

Posted: Sun Apr 04, 2021 2:11 pm
by kev1n

Code: Select all

I just want to clone the form, not the database
The cloner's purpose is to clone/duplicate one form, not the whole database.

All you need to do is

1) EIther untick "Dump SQL Statements" (SQL-Anweisungen ausgeben) to let nuBuilder run the SQL statements.
2) Or if "Dump SQL Statements" is ticked, the output can be verified (or modified if necessary) and then be run in e.g. phpMyAdmin.

Re: Duplicate complete form with fields

Posted: Fri Apr 23, 2021 7:41 pm
by icoso
Kev1n I think he's talking about making a duplicate of the form itself along with all the fields (objects) that are on the original form? I've tried it myself and I get the form, and the code, but NONE of the objects are getting cloned. Not sure why? I assumed that they would. For example If I go into the properties of a from and I want to clone it so that I can do some testing on that form without having to change the code or fields on the original form, I click the Clone button and change the code and description then save it, I get a copy of the form, along with the custom code but none of the objects copied over. Shouldn't the objects copy over as well?

Re: Duplicate complete form with fields

Posted: Fri Apr 23, 2021 9:10 pm
by kev1n
icoso wrote: I want to clone it so that I can do some testing on that form without having to change the code or fields on the original form, I click the Clone button and change the code and description then save it, I get a copy of the form, along with the custom code but none of the objects copied over. Shouldn't the objects copy over as well?
The "Clone" button won't clone the objects on a form. That's why I created the "Cloner" that offers this possibility (and more).

You should see these "INSERT INTO zzzzsys_object" statements: