TIndex

Iz SDMS
Jump to navigationJump to search
Ta stran je trenutno še v izdelavi.

Razred TIndex .

Osnovna uporaba

Find1

Metoda Find1 .

Method TIndex.Find1 (Key1 As String) As TRecordList
Key1String.
ResultOptional TRecordList.

Find2

Metoda Find2 .

Method TIndex.Find2 (Key1, Key2 As String) As TRecordList
Key1String.
Key2String.
ResultOptional TRecordList.

Find3

Metoda Find3 .

Method TIndex.Find3 (Key1, Key2, Key3 As String) As TRecordList
Key1String.
Key2String.
Key3String.
ResultOptional TRecordList.

Execute

Metoda Execute .

Method TIndex.Execute

ExecuteList

Metoda ExecuteList .

Method TIndex.ExecuteList (List As TRecordList)
ListTRecordList.

Find

Metoda Find .

Method TIndex.Find

FindList

Metoda FindList .

Method TIndex.FindList (List As TRecordList)
ListTRecordList.

Skupne lastnosti

Name

Lastnost Name .

Property TIndex.Name As String
ResultString.

Alias

Lastnost Alias .

Property TIndex.Alias As String
ResultString.

Comment

Lastnost Comment .

Property TIndex.Comment As String
ResultString.

Parent

Lastnost Parent .

RO Property TIndex.Parent As TLayer
ResultTLayer.

StoredNames

Lastnost StoredNames .

RO Property TIndex.StoredNames As String
ResultString.

Skupne metode

Clear

Metoda Clear .

Method TIndex.Clear

CopyFrom

Metoda CopyFrom .

Method TIndex.CopyFrom (L As TIndex)
LTIndex.

DeleteAll

Metoda DeleteAll .

Method TIndex.DeleteAll

Metode indexa

AddIndexKey

Metoda AddIndexKey .

Method TIndex.AddIndexKey (Field As TField)
FieldTField.

BuildAll

Metoda BuildAll zgradi vse indexe podatkovne plasti.

Method TIndex.BuildAll
[SomeLayer].Indexes.BuildAll

BuildAllForced

Metoda BuildAllForced ponovno zgradi vse indexe podatkovne plasti. To se uporabi, kadar so indexi na virtualnih poljih, katerih vrednosti se lahko spremenijo brez dejanskih sprememb v plasti.

Method TIndex.BuildAllForced
[SomeLayer].Indexes.BuildAllForced

Rebuild

Metoda Rebuild ponovno zgradi določen index podatkovne plasti. To se uporabi, kadar je index na virtualnih poljih, katerih vrednosti se lahko spremenijo brez dejanskih sprememb v plasti.

Method TIndex.Rebuild
[SomeLayer].Index('SomeIndex').Rebuild

Iskanje

FindClear

Metoda FindClear .

Method TIndex.FindClear

FindKey

Lastnost FindKey .

Property TIndex.FindKey (Key As String) As String
KeyString.
ResultString.

FindKeyIdx

Lastnost FindKeyIdx .

Property TIndex.FindKeyIdx (Key As Long) As String
KeyLong.
ResultString.