please help;
I have tried to reload data from database after adding or deleting or updating data but no use. I have tried these codes:
1-
sqlquery.close;
sqlquery.open;
2-
sqlquery.sql.clear;
sqlquery.sql.text:='select * from table';
sqlquery.open;
3-
dbgrid.datasource.dataset.refresh;
4-
sqlquery.active:=false;
sqlquery.active:=true;
these all codes not working and I must close the app and run it again to reload the new data.