Jump to content

self join relationship problem


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

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
Link to comment
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
Link to comment
Share on other sites

This topic is 6210 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.