Also use the close of the DataSet before each use; The open method,
To solve the,
CodePudding user response:
Or should be paid to your personal reason,Adoquery1. Close;
Adoquery1. SQL. The clear;//remove the original statement,
Adoquery1. SQL. Add (' select * from... ');
Adoquery1. Open;