Re: How to open a file?
Posted: Thu Oct 21, 2021 6:21 pm
If you have a field in your LC app that you have modified and want to write it to a file on the mobile platform:
If that is not what you want please be much more specific!
Code: Select all
...
## This folder-> specialfolderpath("documents") is the only folder where we have write permission on the mobile platform!
## 1. Define a filename:
put specialfolderpath("documents") & "/name_for_your_text_file_her.txt" into tFileName
## 2. Now put the content of your field into that file:
put fld "Name of your field here" into url("file:" & tFileName)
...