We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

HOw to do a left outer join in Filemaker Pro

Soccerman55
Soccerman55 asked
on
Medium Priority
1,568 Views
Last Modified: 2012-05-06
I have 2 tables, servers & backupjobs.  They are related together by serverid.  I want to find all servers that don't have a backupjob defined yet.  As easy as this is to find out in SQL Server, I can't seem to find it in FMP.  I tried adding the backupjobid to a server layout and doing a find there but FMP doesn't return anything.  What am I missing?
Comment
Watch Question

Commented:
all you can find is servers with a backup job, and they omit the found set to work out the ones without backupjobs. a left outerjoin is not exactly that, and fm has no real equiv, but you can normally achieve similar results a different way.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
It's important to remember that FileMaker is not a SQL-based system. FileMaker doesn't have SQL nulls, for example. FileMaker relies heavily on omitted record sets and the "go to related records" script step to do things that would be done in a very different way in a SQL system.


To find servers that do not have a backup job, go to a layout based on the servers table that also includes the ID of the backups table on the layout.

Do a find for any value in the backup field (this can be done by searching for a range that includes all possible values, or even simply by searching for "*" which indicates any values. Click the OMIT option when performing the find, or do the find, and then use the Show Omitted Only option. The result will be all servers that do not currently have a related backup record.


Author

Commented:
Thanks guys, that was what I was missing!
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.