Custom Data rules are something completely different and are used to validate data or block the save if the data is invalid.
I was not suggesting that you delete the relationship. Your question seemed to me to be saying that when selecting a labor cost code, you only want to see cost codes which are labor.
So make a report of the cost codes that are just for Labor and then set the form to use that report for the drop down list for that cost code table.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.commarkshnier2@gmail.com
------------------------------