wald Posted November 1, 2001 Posted November 1, 2001 I have a layout which is used to track art items that have been ordered by customers. The layout shows a single item, where it is in production, etc. In this layout, I need to show all of the other items that were ordered with the piece shown. However, I don't want the item shown to appear in that list (that would be confusing to my users). I easily created a portal with a self-join that shows all of the pieces in the order. How would I modify the self-join relationship so that it shows all of the other peices in the order, EXCLUDING the currently viewed item? Thanks. -wald
Garry Claridge Posted November 2, 2001 Posted November 2, 2001 You may be able to create some sort of calculated key that the 'Current Record' does not match. You can create a relationship with this key, and hence an other portal. All the best. Garry
wald Posted November 2, 2001 Author Posted November 2, 2001 Any ideas how to make such a calculated key? I tried playing with Status(CurrentRecordID. I made a field called FM_Static_RecordID to store the RecordID. Then I made the relationship calculated key: If( FM_Static_RecordID=Status(CurrentRecordID),"",order_ID) But this doesn't work. Any ideas? Thanks. -wald
BobWeaver Posted November 5, 2001 Posted November 5, 2001 On the surface, it sounds possible, but I suspect that it's not. At least not without some extremely twisted calculation or some strange programming trick. This reminds me of Groucho Marx's famous remark: "I would never join a club that would have me as a member." You are trying to do the Filemaker equivalent. As a workaround, you could use Oceanwest's ValuListItems trick, and use the substitute function to remove the current record data, but it wouldn't be in a portal. [ November 04, 2001: Message edited by: BobWeaver ]
Recommended Posts
This topic is 8488 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 accountSign in
Already have an account? Sign in here.
Sign In Now