![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Apologies if this has been asked before, but I just want to make sure of something. I have a relational database I made in FMP6, comprised of two related files. I would like to upgrade this to a single-file solution in FMP8. To do this, do I have to basically rebuild the second file as a table in the first file? As in, set up the fields from scratch in a second table in FIle1, import the data from File2. That's not so big a task -- but then do I need to go through each layout in File 1 which had portals to File2 and re-assign each of those fields so they now point to the new version of the field in the new table? . . . and then any scripts that visited File2 also have to be re-tooled individually, yes? I realize I could keep it a 2-file design, but this is a database that I created for an institution I no longer work for and I'm thinking a single-file design might be more secure -- less prone to filing/renaming mishaps. I think I could make these changes by hand -- laborious but not crazy huge task. But I just want to make sure I'm not doing something 'the hard way' oly to find there's a simpler approach afterwards! thanks Albert |
#3
| |||
| |||
|
|
2. Select one of the .fp7 files to be the main file. Make this selection mainly on table complexity, the file with the most complex table. Then build the other table in that file, import the data into that new table, and redefine the relationships to point to the new table. Copy and paste layouts as needed from the old file to the new, and import scripts as needed. |
|
In FMP 8.5 Advanced, there is the ability to import table schema from an external file. This would reduce the labor required to build the second table in the one file. I do not remember if FMP8 has this capability. |
#4
| |||
| |||
|
|
In article bbcollins-652E55.18400506052007 (AT)... uninet.net.mx , Bill <bbcollins (AT) fake (DOT) net> wrote: 2. Select one of the .fp7 files to be the main file. Make this selection mainly on table complexity, the file with the most complex table. Then build the other table in that file, import the data into that new table, and redefine the relationships to point to the new table. Copy and paste layouts as needed from the old file to the new, and import scripts as needed. Thanks, Bill for the concise roadmap. Just to clarify: when I re-define the relationship from the Main table to the new secondary table, the fields from the second file won't automatically match up to their same-named "new" versions in the newly-formed table, will they? It's looking to me like I'll just have to double-click on each field in the portals to re-connect them to the data in their new place. There's no way to tell all of those fields "Look here in this table rather than over there in that old file) - right? In FMP 8.5 Advanced, there is the ability to import table schema from an external file. This would reduce the labor required to build the second table in the one file. I do not remember if FMP8 has this capability. . . . or is this the sort of thing I'm asking about? Albert |
#5
| |||
| |||
|
|
In article bbcollins-652E55.18400506052... (AT) customer-201-125-217-207 (DOT) uninet.net.mx , Bill <bbcoll... (AT) fake (DOT) net> wrote: 2. Select one of the .fp7 files to be the main file. Make this selection mainly on table complexity, the file with the most complex table. Then build the other table in that file, import the data into that new table, and redefine the relationships to point to the new table. Copy and paste layouts as needed from the old file to the new, and import scripts as needed. Thanks, Bill for the concise roadmap. Just to clarify: when I re-define the relationship from the Main table to the new secondary table, the fields from the second file won't automatically match up to their same-named "new" versions in the newly-formed table, will they? It's looking to me like I'll just have to double-click on each field in the portals to re-connect them to the data in their new place. There's no way to tell all of those fields "Look here in this table rather than over there in that old file) - right? In FMP 8.5 Advanced, there is the ability to import table schema from an external file. This would reduce the labor required to build the second table in the one file. I do not remember if FMP8 has this capability. . . . or is this the sort of thing I'm asking about? Albert |
#6
| |||
| |||
|
|
Once you re-define the relationship in the new file, so that it points to the new "secondary" table in that file rather than to the external file, then all the fields in the layouts that were formerly fields of the "old" secondary table will automatically become the fields of the "new" secondary table. That is, provided the field structure is the same in both the new table and the old external table. |
![]() |
| Thread Tools | |
| Display Modes | |
| |