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

Martin McGlensey mmcg29440 at ...3163...
Sun Apr 10 22:48:03 CEST 2016


Hello,

 

 

I have a datasource on a form. Data controls are within the datasource. When
I add a record to the datasource using XXXXX.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 XXXXX.Save. This appears to work OK.
The problem is that after a save the form datacontrols are empty. I want the
form to display the data I just entered and saved. How can I do this. I want
to add a record. Then enter data and save the record and have the data
appear on the form after the save. I know it should be possible but, I need
help to do it.

 

Regards,

Marty




More information about the User mailing list