hasRecordChanges misunderstanding?

Hi I was hoping someone might be able to help me, I think I must be misunderstanding something.

I have a very simple table view grid that I am displaying and code in the onRecordEditStop that checks the hasRecordChanges. When I click into various records the code fires as expected and returns false as expected but if I then select a button on the parent form the code runs but the hasRecordChanges returns true even though I have not typed anything :? .

How am I to check if a record has actually been changed and what might be causing the hasRecordChanges to be true?
Many thanks in anticipation.
Caroline

Have a look at databaseManager.getEditedRecords(), more info in the sample code.

Many thanks Nicola, I’ve managed to get it to work.
I’m just slightly confused as to why I would have to do a double check:-

why would databaseManager.hasRecordChanges(currentFoundset) return true when databaseManager.getEditedRecords(currentFoundset) returns an array with an empty entry in it!

Sounds like something is going wrong, open a case in the support system.