'What is the difference between TADOQuery and TADOTable?
What is the difference between TADOQuery and TADOTable?
first example
int number = 0;
Query->SQL->Clear();
Query->SQL->Add("SELECT number FROM Parameters ");
Query->Open();
number = Query->FieldByName("Number")->AsInteger;
Query->Close();
second example
TableParameters->Open();
int number = TableParameters->FieldByName("Number")->AsInteger;
TableParameters->Close();
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|