Just as for tables, you can store Visual FoxPro code in the
Data Builder for views. You use the Edit page’s Code sub-page to enter developer
code. See Record-Level Data-Driven Developer
Code to learn more about this valuable feature.
Candidate Keys - Preventing Duplicate Values - Views