bdonelson Posted October 24, 2006 Posted October 24, 2006 Hi, I am attempting to use the table filtered two different ways through different portals. I have tried to link to a global field, set to the filtered value, from a separate table. I have also tried global field on the main table. Both give me a blank portal. Any help would be appreciated. I have attached a copy of the layout that I hope illustrates what I attempting to accomplish. Bill test.zip
ThatOneGuy Posted October 24, 2006 Posted October 24, 2006 Hi Bill: Here's an example posted last week. I'm confident you'll be able to apply its concepts to your project, but feel free to post any questions. Hope it gets you further down the line.
bdonelson Posted October 24, 2006 Author Posted October 24, 2006 Thanks for the example. At least I am the right track.
bdonelson Posted October 24, 2006 Author Posted October 24, 2006 The only difference I can find betweeen the example and mine is that I have another link between the tables, the order number. That is why, I originally tried using a separate table for the global filter field. That also gives me the same blank portal. I have attached a screen capture of the relationships in that arrangement.
ThatOneGuy Posted October 24, 2006 Posted October 24, 2006 Hey Bill! I don't believe a structure (like that in your screen grab) is gonna work, unless your layout is based on the Globals table, but I don't think that's what you're trying to do. Using a self-join relationship, as you started with those 3 table occurrences of Option Strategies, you'll need to have the "Yes" and "No" constant fields in the same table. Then it's merely a matter of defining those relationships with the constants. Let us know how that works out. :
bdonelson Posted October 25, 2006 Author Posted October 25, 2006 Thanks for working with me on this. Is this what you mean?
ThatOneGuy Posted October 25, 2006 Posted October 25, 2006 Hi Bill: Is this what you mean? Not quite. I couldn't detect any difference between your first screenshot and this latest one. Using a self-join relationship, as you started with those 3 table occurrences of Option Strategies, you'll need to have the "Yes" and "No" constant fields in the same table. ... in the same Option Strategies table ... not in a "globals" table as your screenshot indicates. If you downloaded that example file referenced in my first post, take a close look at how those relationships operate. Hang in there! You're gonna get it!
bdonelson Posted October 25, 2006 Author Posted October 25, 2006 I see where the confusion is. The Orders Table is a separate table from the Orders by Account Table. The Orders by Acccount is what I am trying to use in the separate portals, just filtered differently. I hope that is clearer. Thanks for taking the time to help. Bill
ThatOneGuy Posted October 26, 2006 Posted October 26, 2006 Hey, Bill, could you post a copy of your file as an attachment?
bdonelson Posted October 26, 2006 Author Posted October 26, 2006 Hi, I have attached an working example with the portal tables identical. The idea being that one be managed accounts, and the other unmanaged. example.zip
Søren Dyhr Posted October 26, 2006 Posted October 26, 2006 You need to have two foreign keyfields in the table behind the managed and unmanagned TO, otherwise will the two portals show more or less the same unless different sortorders exists. Now such a divide could be made by accountID's larger than a certain value goes to the lower portal and the remaining is send to the lower. Since such a field needs to be indexed, so if the thresholdvalue is stored in a global field somewhere is it required that the value is looked up into a stored field. I can't from the given template see what field can be made into a primary-key, but perhaps is it just to add it to the solution. --sd
bdonelson Posted October 26, 2006 Author Posted October 26, 2006 I see where the problem is now. I had forgotten that relationships had to be connected to fields to could be indexed. Opps. Well, I just have to see how it will work now. Thanks, Bill
Recommended Posts
This topic is 6603 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