I need to create a view on a table which does not have a unique field.
The records are identified by two fields, I cannot change that.
So I would need to define two fields as key fields.
DBSETPROP("VRegel.Werknummer","FIELD","KeyField",.T.)
DBSETPROP("VRegel.Regel","FIELD","KeyField",.T.)
Does this work? Werknummer is not unique, and Regel is not unique, but both together are a unique combination always.
Christian Isberner
Software Consultant