.


:




:

































 

 

 

 


4. 1. Database Desktop (DBD




1. Database Desktop (DBD

2. Country_r : Name, Capital (), Kontinent(). Name key (+). . Kontinent. Table properties Secondary Indexes Define . . . .

3. . TTable, TDataSource, TDBrid. TTable c Country_r. , .

 

 

4. , Align alTop, TDBGrid Align alClient.

5. TEdit OnChange :

void __fastcall TForm1::Edit1Change(TObject *Sender)

{

Table1->FindNearest(OPENARRAY(TVarRec,(Edit1->Text)));

}

, IndexName . , :

void TDMod::Country_rSearch(AnsiString S)

{

AnsiString Temp(tblCountry_r->IndexName->IndexName);

tblCountry_r->IndexName=__;

tblCountry_r->FindNearest(OPENARRAY)TVarRec, (S)));

tblCountry_r->IndexName=Temp;

}

6. . Edit1 .

 





:


: 2015-10-01; !; : 548 |


:

:

,
==> ...

993 - | 935 -


© 2015-2024 lektsii.org - -

: 0.022 .