Re: How do you transfer data from one table to another



In article <1156493727.251619.54840@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"easyplantmaintenance.com" <lidia.lopinto@xxxxxxxxx> wrote:

I am developing a new application for FileMaker 8 to be served on the
server. I converted an
old FileMaker 6 application and enhanced it. In the old application I
was manipulating
data by doing exports and imports using scripts. Now the data tables
are inside the same file.

In FileMaker 8, is there a way to easily transfer records from one
table into another table
using one command?

From the destination table, you should be able to Import Records, choose
the same file, choose the source table, then do whatever import mapping
is necessary. That can all be scripted.

I tried importing from the same file into the same file adn point to
another table, but that may present a problem with the server software.
I wanted to avoid it, since you need an absolute path for the source
and that could be a problem when moving the file.

I had to use several tricks, like creating look up fields and cutting
and pasting the key field into the new table, etc. It usually involves
a burdensome script with looping, it's all very time consuming.

Any other suggestions?

I don't know why importing from one table to another wouldn't work. You
could always export tab-separated text from one table then reimport.

Comments I have seen in this vein suggest that many developers would ask
why you have to move things around in the first place. As long as you
have fields on which you can do finds and as long as you can define
self-relationships using multiple criteria (using portals as necessary),
why go to all that trouble?

Matt
.



Relevant Pages

  • "This script cannot be found or has been deleted."
    ... all 6 scripts that I'd added this morning had also become ... I am using FileMaker Pro 8 Advanced 8.0v3 on OSX 10.3.9. ... The file I was working with is on a very capable Dell server running FM ... Has this problem occurred with local databases, i.e., when not using ...
    (comp.databases.filemaker)
  • Re: How to stop crazy loop running in a filemaker script hosted by fms ?
    ... it is possible to ask fms10 to run scripts directly in filemaker hosted ... new Schedule in FileMaker Server Admin Console. ...
    (comp.databases.filemaker)
  • Re: FM Pro 6: lost many records.
    ... I dont have filemaker server. ... a user on the disk server opens FM pro first and others then connect to ... You should NEVER open a FileMaker file across a network by ...
    (comp.databases.filemaker)
  • Re: Save File to Different Domain - 2nd Post
    ... maybe the user doesn't have logon permissions on the server ... > impersonate a user with the proper permissions on the file server: ... > Sometimes you might need to obtain a Windows NT account token to ... > Imports System.Collections ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Warning on shared directory
    ... If no one else opens the file directly from the file server, ... You can set the database to be opened automatically ... not quit from FileMaker, except when shutting the computer down. ...
    (comp.databases.filemaker)