On 2010-01-14 22:44:41 -0800, TomMcIn <tom_mcintosh (AT) shaw (DOT) ca> said:
Quote:
TableA and TableB are related through a MultiPredicate Join of FieldA1
= FieldB1 and FieldA2 = FieldB2. When both of the 2 fields are
empty, no relationship is displayed even though the 1 fields have
matching values.
Is there any way to make records in which the 2 fields are both empty
still match as the relationship is true. |
The FileMaker Telepathy Plugin is still in development. So...how do you
want FM to tell *which* of the non-related records you actually want
related?
A relationship will always and only show what records have data that
match in the relating fields. So your job as a developer is to figure
out a way to provide two fields that have the proper data. It's not
the job of the software to figure it out for you.
What I would do in the above situation is that on the A side, I'd make
a calculation that combines Field 1 and Field 2, with a return in
between the values. That way, even if one or the other field is empty,
the calc will still hold a single value.
On the B side, also create a combining calculation. Relate these two
calculations. Multi-line keys work on both sides. If ANY line on the A
side matches ANY line on the B side then the records will be related.
You can also, in those calculations, append additional strings like
"All" or a unique keyfield (with a return to put the value on its own
line) which will serve to relate records in the case that either or
both 1 & 2 fields are empty.
If a relationship isn't showing what you want, the relating data isn't right.
--
Lynn Allen
--
www.semiotics.com
Member FBA
FM 10 Certified Developer