void __fastcall TForm1::Button1Click(TObject *Sender)
{
bool FindSuccess;
TLocateOptions SearchOptions;
SearchOptions<<loCaseInsensitive;
FindSuccess=Table1->Locate("字段名",Edit1->Text,SearchOptions);
if(FindSuccess)
ShowMessage("ok");
时间: 2024-10-27 05:07:18