Hi Lavesh,
First of all, welcome to the forum.
As for basic questions, of course you can ask them here. Also there are no stupid questions, only stupid (or should I say
wrong) answers.
You can save ANY unsaved data using the following command:
- Code: Select all
databaseManager.saveData()
When you want to save only a specific foundset you can pass the foundset like so"
- Code: Select all
// when called from the form itself
databaseManager.saveData(foundset);
// when called from another form or global scope
databaseManager.saveData(forms.myForm.foundset);
You can also save one specific record, like your selected record like so:
- Code: Select all
databaseManager.saveData(foundset.getSelectedRecord());
You can find more information about the databaseManager
in the Wiki.
Hope this helps.