|
|
Automatic creation of record in external table in FM 7?
I'm trying to set up a database where the client information is stored
in a file Clients with table Clients, and the navigation is in its own
file named 'Clients Layouts' with table 'Clients Layout'. When I create
a record in one of those tables, I want Filemaker to automatically
create a record in the other table linked by RECORD NUMBER. Is it
possible to set this up automatically?
Thanks,
Kevin
|
|
0
|
|
|
|
Reply
|
audleman (51)
|
4/28/2005 9:02:00 PM |
|
On 28 Apr 2005 14:02:00 -0700, audleman@quasika.net wrote:
> I'm trying to set up a database where the client information is stored
> in a file Clients with table Clients, and the navigation is in its own
> file named 'Clients Layouts' with table 'Clients Layout'. When I create
> a record in one of those tables, I want Filemaker to automatically
> create a record in the other table linked by RECORD NUMBER. Is it
> possible to set this up automatically?
I'm afraid, the answer is no.
Although you may define the relationship to create a related record, the
related record will created on field entry only.
If your 'new record' is script based, it's easy to let the script do the
creation. If it's just a cmd-n, you can't do it with FMP7 alone.
Solutions are e.g.
- background scripts
- 3rd party extensions
People always asked for data entry triggered scripts as long as I
remember. The current field validation is closer - but it's still not
available as people expect it.
Instead people got Asian language support and other things which FMP
considered as more important.
Sorry,
Martin
|
|
0
|
|
|
|
Reply
|
Martin
|
4/29/2005 9:00:22 AM
|
|
On 2005-04-28 14:02:00 -0700, "audleman@quasika.net"
<audleman@quasika.net> said:
> I'm trying to set up a database where the client information is stored
> in a file Clients with table Clients, and the navigation is in its own
> file named 'Clients Layouts' with table 'Clients Layout'. When I create
> a record in one of those tables, I want Filemaker to automatically
> create a record in the other table linked by RECORD NUMBER. Is it
> possible to set this up automatically?
Yes, but more on this later.
First, you should determine if this is what you really want. If you
simply want to add navigation in another file, you don't even need a
data table in the navigation file. To show records from the data file
in the navigation file: 1) set up a file reference to the Clients file,
2) add a TO to that Clients table in that file, and 3) make a layout
based on that TO to show records from the external file.
Assuming you still want to go through this ...
If you want to automatically create a child record -- or in this case,
a sibling record -- when the parent is created, then you should script
the record(s) creation. Also, you should set the "Available menu
commands" to "Editing only" so that your users can't just create a
record from the Menu or keyboard shortcut.
Alternatively, you can use a plug-in like Troi Activator to trigger a
script automatically based on the creation of the parent record. This
should (NB, it should; haven't tested) allow the script to be triggered
even if the parent record is created with the "New Record" menu item;
so long as your trigger field is set to auto-enter something.
--
David Graham
FileMaker 7 Certified Developer
619-322-9698
davidgraham@mac.com
|
|
0
|
|
|
|
Reply
|
David
|
5/1/2005 9:11:43 PM
|
|
|
2 Replies
332 Views
(page loaded in 0.095 seconds)
Similiar Articles: How to hide schema and table structure for other user ? - comp ...... drive, which can latter be retrieved by other user ... You may need to learn XML Schema to use it right.> For ... Automatic creation of record in external table in FM 7 ... automatic creation and last modification timestamps in table ...automatic creation and last modification timestamps in table ... ... FM can work directly with SQL tables ... Creation of ... record creation timestamp - Stack ... CREATE TABLE ... The Separation Model - comp.databases.filemakerThese scripts are triggered as external scripts from ... apparently locked as no searching, sorting, record creation ... So, about TSM, wait for FM 7 or X or 10 or ... Best way to force refresh - comp.databases.filemakerA card table (name, handicap, etc), and a ... There is an external function you can run that ... add a portal row record when you click ... creation of related records ... Need help. How to create a list with multiple occurences of a ...... need to have tha data like this in FM. "A ... Pivot Table Wizard to make a Pivot Table based on External Data. ... popup ... of a ... do that ... ... creation date of an record ... The nightmare begins... - comp.databases.filemaker... know when they introduced table views. But they stopped at the single record ... Creation of off-site and separate media ... > If it's simply viewing the data, FM's table ... High concurrency SELECT / UPDATE procedure - comp.databases.mysql ...... row=job) 2) it marks "taken" those rows and pass them to the external jdbc ... table scan and will thus lock all rows from the beginning of the table up to the 10th record ... PDMworks and DBworks?? - comp.cad.solidworksAllows the use of external database fields to populate ... We have a good record of minding the users opinions and ... at once (there's an option to make this task automatic). [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... Sampling: What Nyquist Didn't Say, and What to Do About It - comp ...And it has such a bad security record that ... Figure 6 on page 7" appearing on page 7. It can be useful to have a table ... one used by autostitch is the only automatic ... 7/13/2012 3:53:11 PM
|
|
|
|
|
|
|
|
|