Subject Re: [IBO] Post or Cancel when moving record through TIB_NavigationBar
Author Svein Erling Tysvær
>Am I missing something or this is the behavior of NavigationBar,
>that if nothing has changed, it will call Cancel even though
>the query is in edit mode ?

I am missing something here - why would you want to force it to call post
(I don't know if it actually calls cancel, but to me that sounds sensible)?

>If so, how to force NavigationBar to call Post ?

Simple, do some changes - e.g. in AfterEdit write something like

var DummyEdit: String;
begin
with SomeQuery do begin
DummyEdit:=Fields[0].AsString;
Fields[0].AsString:='Hello fxam';
Fields[0].AsString:=DummyEdit;
end;
end;

and hope that Delphi isn't smart enough to optimize all of this away.

Set