User manual

Table Of Contents
Chapter 1
|
Using databases 21
Adding and duplicating related records
If you’re working with records in related tables, you can add records
to a related table when you enter data in a record in the current table.
Note You can only add related records from the current table if the
relationship is defined to allow the creation of related records. If a
related table is in a write-protected file, or if you don’t have access
privileges to create records, FileMaker Pro will not add or duplicate
records. (See
“Creating relationships” on page 76.)
For more information about adding and duplicating records, see Help.
Deleting records
When you delete a record, you permanently discard the data in all the
fields in that record.
Important You can’t retrieve deleted data, and you can’t undo the
action of deleting records. Before you delete records, consider making
a backup copy of your file.
If you’re working in a relational database and the option to delete
related records is selected in the Edit Relationship dialog box,
FileMaker
Pro deletes related records when you delete a record.
To Do this in Browse mode
Add a record to a related
table
1 If the related field is in a portal, type data into the
field in the last (empty) row of the portal, then
press Enter.
1 If the related field isn’t in a portal, type data into
the field, then press Enter.
Duplicate a record that is
displaying related data
Be sure no records in a portal are selected, then
choose Records menu > Duplicate Record.
Duplicate a related
record in a portal
Select the record in the portal, then choose Records
menu > Duplicate Record.
Portal displaying
related records from
the Line Items table
Type in the last row of the portal to add a
related record to the Line Items table
To delete Do this in Browse mode
One record Select the record to delete. Choose Records menu >
Delete Record, then click Delete.
A related record Select a portal row in the current table by clicking
inside the row but outside any fields in the row.
Choose Records menu > Delete Record, then click
Delete.
Note To delete related records, Allow deletion of portal
records must be selected in the Portal Setup dialog
box.
A group of records Make sure the found set contains only the records you
want to delete. (See “Finding records” on page 23.)
Choose Records menu > Delete Found Records, then
click Delete.
All records in a database Choose Records menu > Show All Records, then
choose Records menu > Delete All Records.