Filemaker Info
276.3K views | +7 today
 
Scooped by David Anders
onto Filemaker Info
September 13, 2012 7:50 PM
Scoop.it!

Tutorial: What are Table Occurrences? | FileMaker Forums

Tutorial: What are Table Occurrences?  |  FileMaker Forums | Filemaker Info | Scoop.it

What are table occurrences and how can I use them?

This post is a new attempt at helping people new to FileMaker understand table occurrences and how to use them to get more out of their FileMaker solutions. (A past attempt: http://forums.filemaker.com/posts/3bcee00751 proved difficult for some to understand.)

Let’s start with a simple database to illustrate the concept:

Define a table, Contacts, with the following fields:

ContactID (serial number)
Name (text)
cFax (Calculation, define it with just “Fax” in quotes as its calculation and set it to return “text” as its return type)

Define a second table, Phone numbers:

ContactID (number)
PhoneType (text)
PhoneNumber (text)

At this point you have two “tables” listed on the Tables tab of Manage | Database and two “tables” shown in boxes on the relationships tab. While you’re on the relationships tab, drag from ContactID in contacts to ContactID in PhoneNumbers to link the two so that you have:

Contacts::ContactID = PhoneNumbers::ContactID

Double click the line you’ve just made and select “Allow creation of records via this relationship” for the PhoneNumbers table.

Click OK to dismiss Manage | Database. Enter layout mode and add a portal to PhoneNumbers on your Contacts layout. Add both the PhoneType and PhoneNumber fields to this portal. You can now easily add several phone numbers for a single contact and you can use the PhoneType field to enter phone types such as “Home”, “Office”, “Cell” or “Fax”. Add a few such records and make sure to include one entry where the PhoneType is “Fax”.

Now let’s say you want to put a contact’s Fax number on the contact layout without listing all the other phone numbers for that contact. To do this, we’ll create a relationship between Contacts and PhoneNumbers that matches to records with the same ContactID and which also has “Fax” in the PhoneType field.

But now you have a problem. You have a field in contacts, cFax, that could be used in such a relationship, but if you drag from cFax to PhoneType to get this relationship, your existing portal will change to only show phone numbers of type “Fax”.

Here’s how to get around this issue: Create a second table occurrence of PhoneNumbers so that you can link it Contacts by both ContactID and cFax = PhoneType without changing the existing relationship required for the portal. I’ll walk you through the process first and explain the terms later.

Go to Manage Database | Relationships and click PhoneNumbers to select that “table” in the relationship graph. In the bottom left corner of this window, there’s a button with two green plus signs. Click this button and a new “table” labeled PhoneNumbers 2 appears. Drag from Contacts::ContactID to PhoneNumbers 2::ContactID. Then drag again from cFax to PhoneNumbers 2::PhoneType to define a relationship that matches records by contact number and when the value “Fax” is in the PhoneType field. Go back to your Contacts layout and use the field tool to add a field to the layout. Select the PhoneNumber field from PhoneNumbers 2 as the field to be added. Return to browse mode and note that the phone number entered in the portal and labeled as “Fax” now also appears in this new field.

Now to explain the terms: Each “table” in the relationship graph is actually a “table occurrence” and each time you find a post in this forum that talks about table occurrences (sometimes abbreviated as TO), that’s what the writer should be referring to. Each “table” on the tables tab is a “data source table”. Every time you define a new data source table on the tables tab, FileMaker automatically creates a table occurrence box on the relationships tab with the same name.

Table Occurrences are simply convenient labels you can use to link your data-source tables in relationships. You can create as many as you need to create different relationships between the same data source tables. You can see this link between a table occurrence and its data source table by hovering the mouse over the arrow in the upper left corner of the table occurrence box. Hovering over this arrow on both PhoneNumbers and PhoneNumbers 2 reveals that they have the same data source table, PhoneNumbers. Conversely, if you click on the Tables tab, you see that the PhoneNumbers data source table lists two “Occurrences in Graph”: PhoneNumbers and PhoneNumbers 2.

In our example, the two data source tables are linked in two different ways so that we can see either all the contact’s phone numbers or just the fax number. The additional table occurrence, PhoneNumbers 2, makes this possible.

<SNIP>

 

No comment yet.
Filemaker Info
Your new post is loading...
Your new post is loading...
Scooped by David Anders
May 31, 2018 1:20 PM
Scoop.it!

The Philosophy of FileMaker - Seven for Seventeen

The Philosophy of FileMaker - Seven for Seventeen | Filemaker Info | Scoop.it
There's a lot of FileMaker 17 content on YouTube. It's hard to tell which material is the best so you can optimize your learning. You could spend hours trying to find the right video to answer all your questions about FileMaker 17. I've gone through a lot of the videos on YouTube and here are my favorites. Hopefully this will save you a ton of time. Let me know in the comments area below if I've forgotten an incredible video.
Taskiy's comment, February 23, 2019 2:00 AM
http://sco.lt/5lWzx2
Mr.Amit Sharma's curator insight, March 8, 2019 3:17 AM
This institute was established in July 99 .since then we are providing tutors all over . After this successful journey we are proud to say that we are now here to provide our services all over in India. This is a registered institution from state govt. We provide tutors for all classes all sub. & all boards (C.B.S.E., I.C.S.E., IB and all other state and int. Boards.)
Scooped by David Anders
April 6, 2018 1:40 PM
Scoop.it!

(6) Popover Menu - How To - YouTube

No comment yet.
Scooped by David Anders
March 31, 2018 12:13 PM
Scoop.it!

FileMaker HubSpot Integration

FileMaker HubSpot Integration | Filemaker Info | Scoop.it
Learn how to integrate your FileMaker system with HubSpot and automate your opportunities to eliminate double data entry. Includes free sample database.
No comment yet.
Scooped by David Anders
March 19, 2018 3:49 PM
Scoop.it!

(6) Atlanta FileMaker Developer Meeting - Xero, Shopify, and WooCommerce integration - YouTube

No comment yet.
Scooped by David Anders
March 12, 2018 6:29 PM
Scoop.it!

FM Starting Point - Market

FM Starting Point - Market | Filemaker Info | Scoop.it
FM Starting Point is a completely FREE FileMaker template designed for use with FileMaker® Pro 15, and is focused on small businesses, work groups, and non-profit organizations. These templates were built with the experience gained from working with these target groups for over 26 years.
No comment yet.
Scooped by David Anders
March 12, 2018 6:25 PM
Scoop.it!

FileMaker and PayPal - Free Demo File

FileMaker and PayPal - Free Demo File | Filemaker Info | Scoop.it
Integrate FileMaker and PayPal in this free, downloadable FileMaker example file from RC Consulting's FileMaker Starting Point file.
No comment yet.
Scooped by David Anders
February 13, 2018 3:51 PM
Scoop.it!

FileMaker Coaches' Corner-Tip 9-FileMaker and REST-FileMaker Videos-FileMaker Training - YouTube

No comment yet.
Scooped by David Anders
February 7, 2018 2:21 PM
Scoop.it!

Creating Your Own SSL Certificates For FileMaker –

Typically, you buy an SSL certificate for a server from a SSL vendor. However, some companies may decide that they want to issue their own SSL certificates. Often this is because the domain is only used internally, and most vendors don't easily allow (if at all) the signing of server certificates
No comment yet.
Scooped by David Anders
January 9, 2018 1:43 PM
Scoop.it!

Storyboarding and estimating | FileMaker

Storyboarding and estimating | FileMaker | Filemaker Info | Scoop.it
This ebook is based on the presentation given by Deborah Zempel at the 2017 FileMaker Developer Conference, "Estimating & Storyboarding with Accuracy."
No comment yet.
Scooped by David Anders
December 1, 2017 2:55 PM
Scoop.it!

Download FileMaker Document Management Sample File

Download FileMaker - Document Management Sample File (w/Energy UI)
No comment yet.
Scooped by David Anders
December 1, 2017 2:53 PM
Scoop.it!

FM Starting Point

FM Starting Point | Filemaker Info | Scoop.it
FMSP Market Place UI Red Downtown
No comment yet.
Scooped by David Anders
December 1, 2017 2:49 PM
Scoop.it!

Integrating FileMaker with PayPal Webinar - Free Online FileMaker 16 Video Training - YouTube

No comment yet.
Scooped by David Anders
December 1, 2017 2:27 PM
Scoop.it!

What Works - Documenting Your Decisions - SeedCode

What Works - Documenting Your Decisions - SeedCode | Filemaker Info | Scoop.it
As we prepare to bring some new developers on board, it’s worth taking a look at a few of the things we do that make us successful. Sometimes we internalize these things and, not having had to explain them to anyone for a while, they kind of dissolve into habit. Or dissolve into habits we don’t [...]
No comment yet.
Scooped by David Anders
May 15, 2018 2:17 PM
Scoop.it!

FileMaker 17: Introduction to Default Fields | Soliant TV

FileMaker 17: Introduction to Default Fields | Soliant TV | Filemaker Info | Scoop.it
FileMaker 17 comes with a variety of new features and capabilities. Watch our video about the new default fields and how to leverage them in your solution.
TN_Scientific's comment, December 30, 2021 9:43 AM
nice
Scooped by David Anders
April 2, 2018 12:50 PM
Scoop.it!

(6) ccBegin overview video - YouTube

$900 Site License

 

  • A completely unlocked file structure for complete control
  • Professional, flexible industry standard interface
  • Robust user management
  • Multiple home screen options
  • Contact management with robust notes
  • Organization management with any number of related contacts
  • Powerful, flexible invoicing
  • Complete, flexible time clock
  • Simple flexible shipment tracking per invoice
  • Professional setup assistance available
  • Long term support available under either a contract or per event plan

 

No comment yet.
Scooped by David Anders
March 28, 2018 3:32 PM
Scoop.it!

(6) Semantic UI FileMaker - YouTube

No comment yet.
Scooped by David Anders
March 12, 2018 6:29 PM
Scoop.it!

Tesseract FileMaker OCR Sample Database

No comment yet.
Scooped by David Anders
March 12, 2018 6:26 PM
Scoop.it!

FMSP Market Place PayPal Demo

FMSP Market Place PayPal Demo | Filemaker Info | Scoop.it
FMSP Market Place PayPal Demo
No comment yet.
Scooped by David Anders
February 16, 2018 4:21 PM
Scoop.it!

FileMaker Webinar: Data API breaking down barriers and creating new business models - YouTube

No comment yet.
Scooped by David Anders
February 9, 2018 1:39 PM
Scoop.it!

How to Build a Dynamic FileMaker Navigation Bar - An Introduction

How to Build a Dynamic FileMaker Navigation Bar - An Introduction | Filemaker Info | Scoop.it

Download the sample file.

No comment yet.
Scooped by David Anders
February 2, 2018 3:52 PM
Scoop.it!

Portal In Portal Demo - YouTube

No comment yet.
Scooped by David Anders
December 3, 2017 5:25 PM
Scoop.it!

FileMaker Themes & Layout Templates - YouTube

No comment yet.
Scooped by David Anders
December 1, 2017 2:54 PM
Scoop.it!

FREE Digital Document Management Sample File | FileMaker Pro 16 Videos | FileMaker Pro 16 Training - YouTube

No comment yet.
Scooped by David Anders
December 1, 2017 2:51 PM
Scoop.it!

FileMaker UI Sample: Energy | Under-the-Hood | Part 6 | FileMaker 16 Videos | FileMaker 16 Samples - YouTube

No comment yet.
Scooped by David Anders
December 1, 2017 2:46 PM
Scoop.it!

Download Free FileMaker PayPal Integration Sample File

Connecting FileMaker to Paypal
Have customers pay for invoices online.
Free Sample File: http://bit.ly/2AAtrU0
Free Video: http://bit.ly/2hxdplU

No comment yet.