I have a large script that I use for invoice creation.
It crashes on older iPads and struggles with new ones. Should I use Variables or text fields to store data - is there a difference in performance?
Always faster to store data i Variables then Global Fields, but then try to avoid having to many. Make sure to clear each Variable after it have been used.
What version of FMGo are you using? I have only seen crashes with FMGo 13, which had a memory leak. If you are using an older version of FMGo, I would recommend upgrading to a newer version.
I've heard that, and it sounds right, but I've never seen anyone demonstrate it. Is there a blog post or forum thread where someone released a test file measuring the performance difference?
In FileMaker Pro, I once ran a looping script with 1000's of iterations that captured a time stamp before and after. In one version the script interacted with a field, the other a variable.
Manipulating data in the variable was faster, but you had to really deal with a lot of data before the difference was noticeable.
I'd assume similar results in FM GO, and over a smaller set of data due to the less powerful processor.
Your Mileage may vary of course....
New version of FMgo - but old iPad2.
Variables are what I prefer as they are always local and not committed back to the Database until you really need to do it. I have also found variables to be a little faster.
You can uses PSOS to send a text string back to the server and have the server generate the invoice.
Retrieving data ...