Jump to content
Sign in to follow this  
matfrost

Relationship to blank records

Recommended Posts

I have created a relationship, so that a portal shows records where Company are the same, and Date Despatched are the same.

When I view the portal the relationship works, when showing the records where company and date despatched are the same.

However, when the Company are the same and the Date despatched are both empty it does not show these records, it only works when date despatched has a valid matching date.

Is there a way to make it show records when both Date Despatched are the same but empty?

Share this post


Link to post
Share on other sites

You need a calculation field (in the child table) to fulfil your logic, then use the new field as the target of the relationship. Effectively your calc field is a combination of the two other fields.

A global field in the parent table should suffice for the other side.

Share this post


Link to post
Share on other sites

Relationships do not consider empty fields as matching. You could define a calculation field like:

Case ( IsEmpty ( DateDespatched ) ; 1 ; DateDespatched )

and use it instead.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    spand 
×
×
  • Create New...

Important Information

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