We have an issue with "RefreshRecord".
What happens is that:
1. We fetch data from the database in a TOracleDataset (ODS1)
Sql something like SELECT * FROM CUSTOMERS WHERE COMPANY = 'UNKOWN';
2. This dataset is connected to a TDBGrid where we can choose a customer.
3. We can then execute a TOracleScript where COMPANY is changed to a different value than 'UNKOWN' and then a "RefreshRecord" is done.
If RefreshOption.roAllFields are set to true this DOES NOT WORK. Why?
If we change other fields than the field that limits the search the
refresh is done. And if RefreshOption.roAllFields = false it works.
The issue only occure when data is so that the row is not included if the dataset is refreshed and RefreshOptions.roAllFields are set to true.
Is this intended or a bug?
What happens is that:
1. We fetch data from the database in a TOracleDataset (ODS1)
Sql something like SELECT * FROM CUSTOMERS WHERE COMPANY = 'UNKOWN';
2. This dataset is connected to a TDBGrid where we can choose a customer.
3. We can then execute a TOracleScript where COMPANY is changed to a different value than 'UNKOWN' and then a "RefreshRecord" is done.
If RefreshOption.roAllFields are set to true this DOES NOT WORK. Why?
If we change other fields than the field that limits the search the
refresh is done. And if RefreshOption.roAllFields = false it works.
The issue only occure when data is so that the row is not included if the dataset is refreshed and RefreshOptions.roAllFields are set to true.
Is this intended or a bug?