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

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
Sign in to follow this  

×

Important Information

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