Jump to content
Sign in to follow this  
davidrichards

self join relationship problem

Recommended Posts

I am creating a database which will accept new orders and look to older, shipped orders and last names to see if the new order is from a prior customer. This will allow me to assign the prior customer ID number rather than a new one.

The relationship is order_status="shipped" AND lastname = lastname.

Unfortunately, it doesn't work. Only the lastname match seems to work, not the order_status=shipped. Any thoughts?

I am using FMP 8.5 on a Mac.

InternetVenturesDownloadExp.fp7.zip

Edited by Guest

Share this post


Link to post
Share on other sites

You just have your fields reversed in the relationship.

Switch Status_is_Shipped and OrderStatus around.

Since the OrderStatus is the variable field it needs to be the one that the portal is dependent on. I would also suggest that you use a global calc field instead of an auto-entered value. Just make the value of the calc "Shipped".

Edited by Guest

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  

×
×
  • Create New...

Important Information

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