cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jeanshak
Level: Powered On

Support needed: critical loss of data in my collectionen/saved on device (not restorable)

 

A sudden stop (termination) of the app happens and no error message is been shown.
After start it new/again the local data of the app is disappeared! Also in some other files of the app.

In this way I store my data record for record in the app/local device:

Collect(LocPic;
{GEWERKNR:Text(GEWERKNR.Text);
BEM:"Freie Bemerkungen";
FOTO:upImage.Image;
CHECKED:false;
DATUM:Now();
GESENDET:"";
TOMATE:BAUVORH.Text;
BVNR:BAUVORH.Text});;
SaveData(LocPic; "LocPic"));;

Jens Rogge
Jens Rogge
8 REPLIES 8
Community Support Team
Community Support Team

Re: Support needed: critical loss of data in my collectionen/saved on device (not restorable)

Hi @jeanshak,

 

I replied to this issue on your another thread, a week ago:

https://powerusers.microsoft.com/t5/PowerApps-Forum/Support-needed-critical-loss-of-data-in-my-colle...

 

Could you please explain a bit for what kind of support that you would like to ask?

 

If you want to restore the lost data, then you may need to create a support ticket, which is available at the bottom of the Support page:

https://powerapps.microsoft.com/en-us/support/

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
jeanshak
Level: Powered On

Re: Support needed: critical loss of data in my collectionen/saved on device (not restorable)

No, The data are only testdata.
The question is, WHY does the App terminate without any error. 
What can I do, to let it run more constant without sudden termination

Thanks

Jens

Jens Rogge
Delid4ve
Level 10

Re: Support needed: critical loss of data in my collectionen/saved on device (not restorable)

Start by getting rid of that semi colon after the semi colon between collect and savedata, you then have it again at the end.

jeanshak
Level: Powered On

Re: Support needed: critical loss of data in my collectionen/saved on device (not restorable)

this is the correct notation in Studio / installed in Germany:

 

; is like a comma ,
;; is like a ; 

Collect(LocPic;

{GEWERKNR:Text(GEWERKNR.Text);
BEM:"Freie Bemerkungen";
FOTO:upImage.Image;
CHECKED:false;
DATUM:Now();
GESENDET:"";
TOMATE:BAUVORH.Text;
BVNR:BAUVORH.Text});;
SaveData(LocPic; "LocPic")

the break comes not at every storage order, only sometimes ....

 

Jens Rogge
jeanshak
Level: Powered On

Re: Support needed: critical loss of data in my collectionen/saved on device (not restorable)

this is the correct notation in Studio / installed in Germany:

 

; is like a comma ,
;; is like a ; 

Collect(LocPic;

{GEWERKNR:Text(GEWERKNR.Text);
BEM:"Freie Bemerkungen";
FOTO:upImage.Image;
CHECKED:false;
DATUM:Now();
GESENDET:"";
TOMATE:BAUVORH.Text;
BVNR:BAUVORH.Text});;
SaveData(LocPic; "LocPic")

the break comes not at every storage order, only sometimes ....

 

Jens Rogge
Delid4ve
Level 10

Re: Support needed: critical loss of data in my collectionen/saved on device (not restorable)

@jeanshak Apologies i was not aware of this, Us English ay.., so naive Smiley LOL

 

When you say termination, what do you mean? Does it throw you out of powerapps completely / back to the app selection screen?

Is it only when you press the buton or whatever control to activate this formula?

 

I had an issue similar a couple of months ago.  The only solution i found was to SaveAs a new app name and then use this.  I still to this day dont know what caused it.

 

Have you also tried removing a field at a time from your Collect function and testing.  It could be that one of the fields isnt playing nice.

 

 

jeanshak
Level: Powered On

Re: Support needed: critical loss of data in my collectionen/saved on device (not restorable)

yeah! 🙂
Termination means stop of the program, this purple powerapps pic arises or only the andorid screen is there. 
program finish.
It happens for example when i switch back to the app from another or while push a button, store or send. 
PLEASE SEE ALSO MY POST HERE (exact description) :
https://powerusers.microsoft.com/t5/PowerApps-Forum/Urgent-Support-are-powerApps-for-the-bin-LoadDat...

rename of the app is only a tempory solution. >> new store space.....

Have you also tried removing a field at a time from your Collect function and testing.  It could be that one of the fields isnt playing nice.

what field: I need a date, i need some text and this image ...... ????


Jens Rogge
jeanshak
Level: Powered On

Re: Support needed: critical loss of data in my collectionen/saved on device (not restorable)

What kind of fields? 
Date Fields format better as String?
Or numeric fields ?

 

Jens Rogge

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,173)