Stan, Claudius, CreateTable
Ruslan Zasukhin
sunshine at public.kherson.ua
Wed Dec 28 23:13:12 CST 2005
On 12/28/05 10:55 PM, "Claudius Sailer" <Claudius at sailer-online.de> wrote:
> //Ram-Tabelle generieren
> obj=meineDatenbank.CreateTable("TempAnzeige",EVStorageType.kRam)
> Base = meineDatenbank.Table( "TempAnzeige" )
---------------
> newFld= Base.CreateULongField("Buchungs_ID")
> newFld.IsUnique=true
> newFld.IsIndexed=true
You can write this in one line!
newFld=Base.CreateULongField("Buchungs_ID", EVFlag.fIndexed+EVFlag.fUnique)
> newFld= Base.CreateDateField("BDatum")
> newFld.IsIndexed=true
> newFld= Base.CreateVarCharField("Gegenkonto",504)
> newFld.IsIndexed=true
> newFld= Base.CreateVarCharField("Kategorie",504)
> newFld.IsIndexed=true
> newFld= Base.CreateLongField("Ausgabe")
> newFld.IsNullable=true
> newFld= Base.CreateLongField("Einnahme")
> newFld.IsNullable=true
> newFld= Base.CreateVarCharField("Kommentar",504)
> newFld.IsNullable=true
> newFld= Base.CreateBooleanField("Blocked")
> newFld.IsIndexed=true
--
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