>if the contents of a field in a grid are changed then the header is clicked (code to sort is here) how do i accept the changed data before doing the sort?
>
>Thanks, Kim
It depends on buffering setting:
1. If table is not buffered you can accept values just moving table pointer. I would even test that you really have the problem because clicking on header you actually left the textbox. But anyway if you add code like: nRecno=recno()
go top
go nRecno
you will get the result.
2. If table is buffered, especially if it is table buffering, you must use tableupdate() function.
Edward Pikman
Independent Consultant