Constraints issue
In Proj-Buildings I select the BUILDING NAME taken from BUILDINGS. The constraint here:
a.PROJECTS.CLIENT.NAME = b.ORGANISATION.NAME
Limits the Buildings list to those for the client/organisation. What I am trying to further constrain is to only display those not previously selected. I tried this which does not work.
a.PROJECTS.CLIENT.NAME = b.ORGANISATION.NAME and not a.BUILDINGS.'BUILDING NAME'
Below is a screen shot of the selection view:
The following view is the list of selected Buildings
I click Create record and arrive at the selection (proj-buildings) wanting to see only the balance or no buildings if all have been selected.
Is this doable?
7 replies
-
My wee brain is having a hard time following the structure with just words. Can you post a sample DB?
-
said:
The first part of the constraint limits Buildings to Organisation. What I need is to limit the Buildings to only those not previously selected. For example: In Project Alpha I select Buildings 1 - 3 of 4. Later Building 4 needs to be added. When I Create record to select building 4 only that building should be listed since 1 - 3 has already been selected.I actually wanted a sample DB not the data model, but a flow description helps.
So Project Alpha has 4 records in Proj-Buildings to start or do you add on as needed? If you don't have a dataset that has all possible buildings related to the project then you have nothing to subtract from?
-
said:
there are 4 buildings of which I have selected 3. At a later date I want to add the 4th building. When I click Create record and get the list of buildings I only want to see 4 since 1 through 3 have already been selected.I don't have your DB you so I can't be sure about paths and names, but here is a guideline.
You can get to Buildings from Projects through Client. Put that in a variable.
You can get to Proj-Building from Projects. Put that in another variable.
Then you can use great example in this post. I think the complement is the one you want.
Content aside
- Status Answered
- 11 mths agoLast active
- 7Replies
- 86Views
-
3
Following