0

Laptop vs iPad

Hi,

I have a database with code.
When I perform a certain action (processing and saving) it takes about 4 seconds on my laptop and less than a second on my iPad.
If I use do as server in the program on my laptop, then everything is executed in half the time, but then the processing on my iPad does not happen as it should, it is incomplete.
I do not understand this. Can you explain this to me.

Tx

Regards

MV

1 reply

null
    • Ninox partner
    • RoSoft_Steven.1
    • 1 yr ago
    • Reported - view

    Hi Michel ,

    This is because  actions are executed on the server if you use "do as server" and while some data may not be yet available on the client, this data is missing. Here's an overview where actions are executed :

    https://docs.ninox.com/en/script/appendix/transactions/execution-context

    You could also use this in your code:

    if ninoxApp() = "web" then

    do as server

    ---your code---

    end

    else

    --- your code---

    end

Content aside

  • 1 yr agoLast active
  • 1Replies
  • 58Views
  • 2 Following