Skip to Content
0
Jul 28, 2016 at 07:56 AM

Strange behavior of SaveAs() function

30 Views

Hello, all

I am having the strangest issue with SaveAs(PDF!, true) function for data store.

When application is run normally, in the user session, the function works correctly.

However, when the application is launched in batch mode from SQL Anywhere DB server (using xp_cmdshell command) it returns -1.

What am I missing here ?

Thank you

Arcady