Re: [Gambas-user] How to stay on an added record after a save

2016-04-10 Thread zainudin ahmad
I am use this trick : .Create() $bNewRecord = True When save : if $bNewRecord then .MoveLast() 'if your new data show in last row or maybe .MoveFirst() 'if your new data show in first row On Mon, Apr 11, 2016 at 3:48 AM, Martin Mc

[Gambas-user] How to stay on an added record after a save

2016-04-10 Thread Martin McGlensey
Hello, I have a datasource on a form. Data controls are within the datasource. When I add a record to the datasource using X.Create(True) a new record is created and the datacontrols on the form add data to the datasource. Then I save the data to the datasource using X.Save. This app