Good morning,
I am trying to improve the speed of my database and I have seen that the "run script on the server" function can be the solution. The database goes well from WebDirect but if you connect through Filemaker Pro it is very slow in some presentations.
The point is that I have made a very simple function to prove that it works but nothing ...
Script "test":
run script on the server ["PSoS test"]
Script "PSoS test":
set variable [Global :: test; Global :: test & "You are running PSoS test"]
go to the presentation ["proof"]
Script "OnFirstWindowOpen":
If [LeftWords (Get (ApplicationVersion); 1)="Server")]
establecer variable[Global::prueba ; Global::prueba & "Esta ejecutando prueba OnFirstWindowOpen"]
salir del guion[];
end If
In the "test" field of the "Global" table the result is="This is running test OnFirstWindowOpen This is running PSoS test".
The problem is that it does not execute the function "go to the presentation [" test "]" and stays in the same presentation
I have my filemaker file hosted on FMPhost.com on a server in the cloud filemaker 14.