>>Hi,
>>
>>I'm having trouble with my custom write buffer.When I am on a record and make changes then go to the next record using my toolbar the writebuffer traps for changes and allows me to commit or revert my changes. But if I were to make changes then select my listbox and go to another record, the changes are already committed. How do I check if data has changed in any of my text boxes and prompt the user to save, discard or cancel the last action?
>>
>>TIA
>>Jon
>In case of row buffering, may be you can put the trap to Listbox GotFocus(), that just off the top of my head, I didn't try it :)
Nick,
I put my method for checking the fieldstate in the gotfocus() event as you suggested and I now get my confirmation message. Thanks. Now I have to resolve the rest of the fields refreshing once my writebuffer is invoked, ie I save my changes, the listbox displays the clicked record but for some reason the rest of my text boxes are not being refreshed? Always something!!
Thanks again
Jon
Jon Paskett
Microsoft Certified Systems Engineer
We all have to start somewhere...
Sometimes over again!