Jump to content
Server Maintenance This Week. ×

DoScript and FM Server


Tissot

This topic is 5213 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hey guys.

I cant get DoScript to run a script in a database on our FM Server 10. I tried every possible combination.

Let ( queueScript = mFMb_DoScript( "TriggeredScript"; "File on Server" ) ; mFMb_DS_LastErrNum = 0 )

I tried:

Filename

fmnet:FMServer/Filename

file:Filename

fmnet:Filename

etc...

Any pointers would greatly be appreciates.

Regards

Ron

Link to comment
Share on other sites

Are you trying

1) to run the whole script server-side?

2) Or is this is a script that runs on the desktop and you want to target a file hosted on FMS that is currently not open in the client?

If 1 then you need to verify with myFMbutler that the script can actually run serverside and you need to have the script installed on the server

If 2: that won't work: the other file needs to be opened in the client first

Link to comment
Share on other sites

Thanks.

Option 2 is what i needed and accomplished it by opening the file in hidden mode at startup.

Then it will work even if you close the windows.

Found this out 15mins after I posted. Sorry for not getting back.

Link to comment
Share on other sites

This topic is 5213 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.