If you have ever tried to construct a form which uses a single entity definition for the entering of retrieve profiles you will have hit a big obstacle. UNIFACE does not know the difference between a profile being entered and new data being entered, therefore it fires off all the field validation triggers. This will insist that all mandatory fields on the entity have non null values, which can be frustrating when you don't want to specify a value for some of these fields.
if ($error = 0126) ; syntax error if ($fieldprofile) return(0) ; allow profile characters endif message $text("%%$error") return(-1)
This is the method that I have employed for many years with great success.
Tony Marston
6th June 2000
mailto:tony@tonymarston.net
mailto:TonyMarston@hotmail.com
http://www.tonymarston.net