Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
Creating an area for an existing table
Hi,
I was working on a system that had a table A that didn't have areas. Because I needed areas I duplicated the table, to create new areas A1 and A2 with domain A. Now I have a bunch of warnings in GenRules in all forms of area A:
"Form AFORM is using as base area the domain A, instead of using an area of that domain."
My question is, was there a way of creating the area without having to change the base areas of all my forms? And is there something I can still do that doesn't require me to change all my forms and their respective fields?
There's no problem. This warning only concerns the generation of systems for C ++. Please ignore this warning completely in case you are using Genio to generate for MVC or QWEB
You can duplicate the existing table "A" and name it "AA", and this table will be domain table. After doing this, you can create more area (A1, A2, ....) over domain "AA".
This approach is clean if you are building a new system, your system is not in production mode. Otherwise it will be necessary to import data from table "A" to table "AA", because the the table "AA" will be fisical table on the database.
OK thanks, I'll measure the cost of migrating data and other external references against the cost of changing all my forms.
I dont know of another way to create areas, what i would advise is to create an area for each table even if they dont need areas for the moment.
In this way you wont need to change every form and DB List that was using the domain previously.
I know of that practice, but this is an existing system that has more than half of the tables without areas
Keep Informed
About the Community
Question tools
Stats
Asked: 05/03/2020 17:36 |
Seen: 1682 times |
Last updated: 05/03/2020 18:17 |
I'm actually generating a Backoffice solution, the Table lists in this forms are not working, and I'm assuming this is the problem.