Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Relationship Output on Empty Field Contents


This topic is 6660 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

This seems like a topic that has probably come up in the past but I'll post it now since I can't see anything similar in recent posts....

Is there a way to make FileMaker display related records when the join fields are both empty? Ex: gData is the global source selector and the related table has a "Data" field in it of various values, some of which may be empty. When gData is empty, is there a way to get the relationship to show records from the related table where the "Data" field is empty?

It would be nice if FM had wildcard special characters like * or ? to variate the relationship parent field to pull a range of related records when the relationship is a text join.

Thanks all.

David

FM v8.5 Advanced

Posted

You can't match on an empty value, so instead you would create a calculated key for both sides, where the parent key is:

case(isempty(gData);"zzzAll";gData)

and the match key is:

Data & "¶zzzAll"

Or if you prefer, have the calc look for a wildcard character instead of an empty field.

Posted (edited)

Thank you very much for the direction. That works pretty well even though the child relationship anchors are calculations. I guess because the calc contents are exclusively indexable text, it still works.

The only drawback is that you can't create related records through such a relationship since the child anchors are calcs. No biggy. I can add a tab and call it "Browse Only" I suppose.

Thanks again. I'll put that in the mental hopper for future use.

David in Fishers Indiana

Edited by Guest

This topic is 6660 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.