My field "PerspCount" shows the right value, and the formula delivers the correct result but saves a value that is different. More specifically, it omits the addition from [@cbParamVirtual62] below. Does anyone who sees this post have a clue? For example, "PerspCount" show 4 in the form and then 3 is saved to the table.
PerspCount (Count the number of distinct perspectives in the target table)
(SELECT COUNT (DISTINCT Perspective) FROM tbl32_OrgTargets WHERE Corp_FK=target.[@field:Corp_FK]) + [@cbParamVirtual62]
Virtual 62 (Checks if a distinctly new perspective is added)
CASE WHEN (SELECT COUNT (DISTINCT Perspective) FROM tbl32_OrgTargets WHERE Corp_FK=target.[@field:Corp_FK] AND Perspective = [@field:Perspective]) = 0 THEN 1 ELSE 0 END
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
KG360
PerspCount (Count the number of distinct perspectives in the target table)
(SELECT COUNT (DISTINCT Perspective) FROM tbl32_OrgTargets WHERE Corp_FK=target.[@field:Corp_FK]) + [@cbParamVirtual62]
Virtual 62 (Checks if a distinctly new perspective is added)
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.