Good day humans,
I have this application that can submit forms to a datasource.
Now, I tried implementing offline capability to this application which lead me on using collection (Coll_A) and localdata to store the submitted forms into a collection.
The user can still view the collection of forms submitted offline in the Gallery.
Now, the user can edit the forms and submit it.
Now, what I want is to delete that entry/row/form from the collection after successfully submitting it because there is now an internet connection.
I tried using:
Remove(Coll_A,ThisItem);
on the OnSelect property of my submit button. Unfortunately, it returns an error and it is considered an invalid argument.
Is the scenario I have in mind feasible? If yes, I hope you can help me build an approach to it.
Thank you!