Merging a data-file with a UI-file into one

Merging a data-file with a UI-file into one

am 09.11.2007 20:43:03 von jbrejcha

Since from the beginning of my ERP solution with 20 tables I kept
according to the data separation model one file with the UI and one
file with data. As I developed the solution further, however, I was
forced to add calculations and relationships into the data file, which
made things quide complex.
Because of this I now want to merge both the files into a single one,
but I encountered a problem. As I imported the tables into the UI
file, filled them with data, in the relationships graph the tables
showed with a trailing number (original "table", after the import
there was also a "table 2" box). To preserve all the relationships in
the UI, I then pointed the tables in the graph to get data from the
imported tables. However, when I then wanted to remove the imported
"table 2" from the graph, all the layouts lost their link with the
proper table. If I wanted to get them work, I guess I should have left
the imported "table 2" in place and redone all the relationships...
Anyway, anyone would have some comment or experience to share?
Thanks a lot! Jan
For the import I used FmPro 9 Advanced on a Mac

Re: Merging a data-file with a UI-file into one

am 10.11.2007 14:29:19 von tl

I kept
> according to the data separation model one file with the UI and one
> file with data. As I developed the solution further, however, I was
> forced to add calculations and relationships into the data file

This is quite natural, the best way is to stick with the data
separation model - it has many advantages.
Almost all tables should be in the data file, where relationships
should be limited to those needed by the calculations. All other rels
should be in the GUI.

Re: Merging a data-file with a UI-file into one

am 10.11.2007 23:16:15 von Chris Brown

TL wrote:
> I kept
>> according to the data separation model one file with the UI and one
>> file with data. As I developed the solution further, however, I was
>> forced to add calculations and relationships into the data file
>
> This is quite natural, the best way is to stick with the data
> separation model - it has many advantages.
> Almost all tables should be in the data file, where relationships
> should be limited to those needed by the calculations. All other rels
> should be in the GUI.
>


second that. Stick with the DSM.