[V4MD] unique between two fields
Ruslan Zasukhin
sunshine at public.kherson.ua
Sun Nov 6 11:10:57 CST 2005
On 11/6/05 10:44 AM, "info at vallemediatime.com" <info at vallemediatime.com>
wrote:
> Hi Ivan,
>
> and if I have one (or more) UShortField together stringFields what is the
> correct way or value thay I must use?
>
> in eg look at 36 + ?
>
> Discipline = gDb.createTable("Discipline ")
> Discipline .createStringField("Discipline_Name", 36)
> Discipline .createUShortField("Discipline_Teacher_ID")
> Discipline .createUShortField("Discipline_Room_ID")
>
> Discipline .createStringField("Discipline_NameTeacherRoom", 36+? ,
> [#fUnique],
> "Discipline_Name || Discipline_Teacher_ID || Discipline_Room_ID" )
You ask about maximal length ?
Ushort this is 65535 maximum, so 5 chars.
Actually guys all is not so simple,
Concatenation of numbers can have ambiguity
1 + 11 == 111
11 + 1 == 111
I think it needs add spaces between numbers.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina-beta
mailing list