[V4MD] unique between two fields

info at vallemediatime.com info at vallemediatime.com
Sat Nov 5 16:00:55 CST 2005


> ivc> last suggestion:
> ivc> I must keep the two fields "Discipline_Name" and  "Discipline_Year"
for
> ivc> show distinct value to final user
> ivc> and add a third 'method field' for check the unique of combine
fields? ...
> ivc> in this manner the db size augmented
>
> There is only way for compose unique constraint for now.
> But it is almost zero overhead.

Very thanks Ivan, now me is all clearer.

I've checked the table and all works with this correctly line:
Discipline .createStringField("Discipline_NameYear", 45, [#fUnique],
"Discipline_Name || Discipline_Year" )

Paolo



More information about the Valentina-beta mailing list