Good day humans,
I was trying the app I created which is offline capable using LoadData and SaveData. The app works perfectly when I tested it initially.
Now, when I tested it on a new device, there is an error message saying that the file is not found or something. I am suspecting what caused it is the LoadData of the cache file since it is not existing on the device yet because it just downloaded the form.
Any ideas on how to handle such error for newly installed form that uses LoadData("cache_file")?
Cheers!
EDIT:
Here is a snippet of the code (with reservations to ensure confidential data won't be disclosed)
The code below is from the OnStart of the App.
ResetForm(EditMainForm);
//Loading Offline Data
LoadData(
coll_Main_Form,
"cache_MainForm"
);
LoadData(
coll_SubForm,
"cache_SubForm"
);