Re: merging databases - almost perfect solution -
09-19-2005
, 10:00 PM
I just want to make sure I understand what you're saying. You have 1
or multiple FileMaker files that you created with scripts, fields etc.
all in a know format, meaning the user can't mess with them.
Now you want to give a user the ability to merge their data with the
data in your file but you don't know what format their data is going to
be in or you want to leave that as flexible as possible.
You also want to allow the user to either replace the data in your file
with theirs, replace only certain portions, or just keep the data in
your file.
To do this you want to display some sort of screen showing your data
and the unknown data along with some dialogs asking the user which
record to keep and if they want to replace, what fields in the unknown
data should be mapped to what fields in your file.
That seems like a pretty tall order. The only advice I can give is
this: it makes sense to use FM to display the 2 sets of data and the
logic of letting the user select which record he wants to keep /
update. This implies your file either needs to link to or contain
fields and scripts for the external data format. That having been said
it means the unknown data must somehow be brought into a known format
and from there you could use plain old FM to do what you want to do.
I wonder if you could import the data into a FM file that just has a
bunch of text fields and then have a preference or template file which
contains records on how to merge the imported data into the known
format that your looking for? |