How to detect ANY changes on Currencies and Exchange Rate form at button save click no matter where the changes is?

SOLVED

Hi, I need a way to detect the changes on Currencies and Exchange Rate form whether the change is in Exchange Rates tab, or the Settings tab. On AfterClick Save button I need to prompt the user the change that have been made.

  • +1
    verified answer

    Either: use an event handler for the ValueChanged event for the grids (exchangeRatesGrid, euroPeriodExchangeRatesGrid, gbpPeriodExchangeRatesGrid, currenciesGrid) to set a flag,

    or: in BeginSave, check IsDirty of the FinancialCurrencies BoundObject(0) - although this may be false if only period exchange rates have changed