Above is a Query method, in the Delphi help to this song, the four parameters of the bracket, please represent what mean? Application:
STR:='select * from KEHAIERP_CodeDllTest' where module name='material files - information center "'
AQeyCommon TADOQuery,
At the back of the '0', '1' is what mean? What is the meaning of the statement?
CodePudding user response:
AdoQueryOpen is a custom methodThe first parameter is the query
The second parameter is to perform the query and store the query result adoquery
The third fourth have to look at the code
CodePudding user response:
Press Ctrl click AdoQueryOpen, see code,CodePudding user response:
See DMMain interface AdoQueryOpen what method the incoming parameters used forCodePudding user response:
DMMain. AdoQueryOpen (STR, DMMain AQeyCommon, '0', '1')May is a custom method and parameters of good guess not to come out, want to see the code, to be sure,
The first parameter is the SQL statement,
The second parameter is the reference of control;
Third and the fourth possible selectivity clause of the SQL statement, such as additional the where clauses, or order by name,