What does this code mean?

Source: Internet
Author: User
What does this code mean? Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiDB/html/delphi_20061217214802252.html
Procedure tform3.radiobutton3click (Sender: tobject );
Begin
Adotable1.refresh;
With adotable1 do
Try
Disablecontrols;
Filtered: = false;
Memo1.text: = memo1.text + ''' + edit1.text + '''';
Filter: = memo1.text;
Filtered: = true;
Finally
Enablecontrols;
If adotable1.recordcount = 0 then begin
Messagebeep (1 );
Showmessage ('not met. Please confirm the condition or discard the query! ');
If messagedlg ('Do you want to continue querying? Other operations can be performed only after the query is completed! ', Mtinformation, [mbyes, mbno], 0) = mrno then begin
Filtered: = false;
Adotable1.close;
Adotable1.open;
End;
End else begin
If messagedlg ('Do you want to continue querying ?, Other operations can be performed only after the query is completed! ', Mtinformation, [mbyes, mbno], 0) = mrno then begin
Filtered: = false;
Adotable1.close;
Adotable1.open;
End;
End;
End

It is a query-by-button operation. It is an Acess database connected by ADO. But can you tell me the meaning of each sentence? It is quite incomprehensible ..
Thank you ..

This enables adotable to use a filter to search for data by selecting conditions.

Filter: = ''is a filter condition.
Filtered is a filtering method. Its usage is similar to that of locate.

Thank you ..

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.