How to Use Constraints
Hi all,
Been struggling to understand how to utilise the Constraint field when i have 2 tables linked together.
Table 1 is Staff details which contains everything about a certain staff member, including their position.
Table 2 is a daily running log.
I have a field that is reference from daily running log to staff details in a drop down box view.
How do i use the constraint section to only show staff who's position is "Managers"
4 replies
-
I think a better use would be the "Readable if" function. Here is one example
Anlagenbauer = user() or userRole() = "admin"
Where Anlagenbauer is a user field.
-
It took me awhile to get a feel for constraints as well.
When you open the constraints window you see “a (Log)” and “b (Staff)” on the left side. Depending on the kind of field position is, Text, Choice, or Dynamic Choice, will depend on how you try solve it.
text: b.position = "Manager" choice: b.position = 1 or text(b.position) = "Manager" dynamic choice: b.dChoice = 3 <- record number that has "Manager"
Content aside
-
1
Likes
- 1 yr agoLast active
- 4Replies
- 323Views
-
3
Following