Page 1 of 1

Seeking command like save()

Posted: January 20th, 2018, 3:59 am
by leulae
Dear All

Is there any method to save the current data(case) by clicking on userbar button or any other method in android application (userbar does not work in android, I guess I should go to menu like below)

menu
1 Save and Exit
2 Exit with out save
3 ….

I know savepartial() but seeking command like save()

Your comments / suggestions are welcome

Thank you all

Leulae

Re: Seeking command like save()

Posted: January 20th, 2018, 10:31 am
by Gregory Martin
The userbar does work on Android. The options are visible when you click the button to the left of the notes button.

Doing this is basically what a save function would do, though the case will still be marked as partially saved:
savepartial(clear);
You could also have the save simply do this:
endlevel;
That will end your case and save the data.

Re: Seeking command like save()

Posted: January 20th, 2018, 11:55 am
by leulae
Dear Gregory Martin,

Thank you very much your response.

In my case I have one field to control save operation beginning of the case tree. (Say Control field)

Below the control field there are number of records and fields (items)

I placed “endlevel;” in control field,


It asks “Accept case” dialogue box to save, when click on yes, but no data save on to database.

Please guide me to overcome

Thank you

Leulae.
Gregory Martin wrote:The userbar does work on Android. The options are visible when you click the button to the left of the notes button.

Doing this is basically what a save function would do, though the case will still be marked as partially saved:
savepartial(clear);
You could also have the save simply do this:
endlevel;
That will end your case and save the data.

Re: Seeking command like save()

Posted: January 21st, 2018, 1:57 am
by leulae
Found the solution, thank you all

Link to solution

http://www.csprousers.org/forum/viewtop ... evel#p6688