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

Re: saving offline records

But when you enter another record, doesn't it overwrite your previous record in your separate collection?

What I don't understand, is that it the collection and the cache are disposed off when the app is off. how can i ever have a list of records in my collection? 

cwebb365
Level 8

Re: saving offline records

They are only disposed of if the app is closed. In that case, using the "OnStart" and using LoadData() to populate those collections will give you the data for offline. You just need to make sure as you use the app, that you update the offline files with savedata() on any changes after you update the collection. This way next time you load the app, the collections get populated with local data if offline.
blue_lotus
Level: Powered On

Re: saving offline records

thank you very much. it now works. I had not written the formula in the "on start", that's why I had the issue.