I have a question about what is going on in the saveData method... does Servoy build a bunch of inserts and updates for all data in the solution and execute them when it is called, or is it specific to the form that the controller is in?
If it is the first, where it is basically a global update method, does it go through any conditional logic to see if the data needs updating before executing the update, or does it just save everything?
The reason I ask is that we have a specific form that is taking quite a while to execute saveData. It is nested about 5 levels deep, but I'm not sure if that is the real issue...
This form contains some relations to thumbnail binary image data in a separate database, and the slowness seems to be proportional to the number of thumbnails that this form contains. The frustrating thing though is that the thumbnails are not changing, nor do I need them to update - the relations are there only to pull the data out.
Here's another interesting thing: If I remove the relations to the thumbnail image data, and replace it with queries that assign the thumbnails to global variables and make the global variables the data provider, I get the same slowness results when calling saveData!
I wish I had access to the Servoy source or that I could step into the savedata method in the debugger... Is there anything I should be aware of that could potentially slow down saveData?