Home > Back-end >  MemTableEh data refresh
MemTableEh data refresh

Time:04-18


MemTableEh1 DataDriver attribute set ADODataDriverEh1
ADODataDriverEh1 ProviderDataSet attribute set FDQuery2
FDQuery2 SQL is the SELECT * FROM t_ProductBom where ProductID=: ProductID
FDQuery2 MasterSource set the DataSource1
FDQuery2 MasterFields set the ProductID
Program is running, the display is always the first data, point the second data without refresh, how to set up automatic refresh
All of the Active set became True

CodePudding user response:

If events increase inside the
 procedure TForm1. DBGridEh1CellClick (Column: TColumnEh); 
The begin
FDQuery2. Refresh;
MemTableEh1. Refresh;
end;
to refresh to refresh automatically

CodePudding user response:

Their needs solved again MemTableEh1 also to set up the MasterSource set MasterSource ProductID and MasterFields Settings

CodePudding user response:

You solve a bit fast

CodePudding user response:

  • Related