Forum Discussion
MarkShnier__You
Qrew Legend
5 years agonp,
Create a field with a descriptive name which will be meaningful to your users such as [You may not choose the same rank more than once]. The reasons for this will become apparent.
Create a formula text field similar to this one
List"-", ToText([Related Student]), ToText([Related Collage]), ToText([Rank]))
I am assuming here that you have tables of Colleges and a table for Students.
Mark this field as "Unique" in its field properties. The reason that you cannot use the student name or the college name in this formula is that you will not be able to flag a field as being unique if it involves look up fields.
Now go ahead ant try to enter a duplicate rank and the reason for the descriptive field name will be apparent.
The Error message which will come up in red which will block the save is an automated message by Quickbase which we cannot control. However we can control the name of the field which gets embedded in that error message so we use that to help explain to the user what they did wrong.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
Create a field with a descriptive name which will be meaningful to your users such as [You may not choose the same rank more than once]. The reasons for this will become apparent.
Create a formula text field similar to this one
List"-", ToText([Related Student]), ToText([Related Collage]), ToText([Rank]))
I am assuming here that you have tables of Colleges and a table for Students.
Mark this field as "Unique" in its field properties. The reason that you cannot use the student name or the college name in this formula is that you will not be able to flag a field as being unique if it involves look up fields.
Now go ahead ant try to enter a duplicate rank and the reason for the descriptive field name will be apparent.
The Error message which will come up in red which will block the save is an automated message by Quickbase which we cannot control. However we can control the name of the field which gets embedded in that error message so we use that to help explain to the user what they did wrong.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
Divya__OSSE-Con
5 years agoQrew Member
Thanks Mark. That worked like a charm!
------------------------------
Divya (OSSE-Contractor) Pogaku
------------------------------
------------------------------
Divya (OSSE-Contractor) Pogaku
------------------------------