Page 1 of 3

Question about cloning forms

Posted: Fri Mar 15, 2024 6:49 am
by kknm
There is a form (browse_Edit) and its table.
I make a copy of this table (structure) in a database with a different name. I clone a form with the parameters of the copied table.

I get the correct form (browse), but empty Edit.

Is this due to the fact that the fields in both tables have the same names or is there another reason?

Re: Question about cloning forms

Posted: Fri Mar 15, 2024 7:49 am
by kev1n
Hi,

There's no problem using the same object ids in multiple forms.

Make sure you also change the table name in the sob_all_table column of the zzzzsys_object table.

Re: Question about cloning forms

Posted: Fri Mar 15, 2024 8:35 am
by kknm
base -V.4.5-2024.02.29.01
files -V.4.5-2024.03.05.02

I don't have the zzzzsys_object table. I'm trying to update - new zzzz objects do not appear in the database.how to update?

Re: Question about cloning forms

Posted: Fri Mar 15, 2024 8:43 am
by kev1n
zzzzsys_object has been around since the beginning, without it nuBuilder wouldn't work.

Re: Question about cloning forms

Posted: Fri Mar 15, 2024 9:04 am
by kknm
zzzzsys.png
This database has been in operation for 2 years and has been updated periodically.
I copied this base (structure) for use in another organization. To expand the functionality, it was necessary to clone some forms and tables, and here I discovered the absence of many system tables.

Re: Question about cloning forms

Posted: Fri Mar 15, 2024 9:24 am
by kev1n
The left panel doesn't show all tables. But you can search for one:
2024-03-15_092121.png
Tables can also be hidden:

https://stackoverflow.com/questions/524 ... left-panel

Also, when you export the database, all the tables are in the dump.

Re: Question about cloning forms

Posted: Fri Mar 15, 2024 10:02 am
by kknm
Please forgive me for my inattention - the tables are in place, it’s just that the database is too big for my screen. :-)

However, the form does not clone Edit, neither through cloning on the form nor through Cloner - only browse. In zzzzsys_object there are only the original objects of the native form and table; there are no records about the new table.

Re: Question about cloning forms

Posted: Fri Mar 15, 2024 10:24 am
by kev1n
When you run the cloner, don't you see the zzzzsys_object section ?
dump.png

Re: Question about cloning forms

Posted: Fri Mar 15, 2024 10:29 am
by kknm
The original form is -fro.
The cloner shows that it created the form fro_clone_1
All sections are present, but the fro_clone_1 form is not present in the forms. It is also not in zzzzsys_object.

Re: Question about cloning forms

Posted: Fri Mar 15, 2024 11:08 am
by kev1n
zzzzsys_object doesn't contain the form code, just the form id.