bobbyinindia
9th October 2013, 08:10
Hi,
I've developed a session which directly export data to excel. No layout(Report) has been developed for that. Data directly goes to excel. It is working fine in Worktop BUT not working in Webtop.
As I found that client2server and server2client is not working. If I export data to a fixed predefined path on server, it is working.
My requirement is to copy and open the excel on client system.
Can anyone help me out.

bhushanchanda
9th October 2013, 08:22
Hi,

Please post your code, it will help people to identify the problem. Things you can check,

1. Check if you have included #pragma used dll ottdllbw in your script.

2. If you are using app_start() to open your file, replace it with start.application.local() function as app_start() is not supported for Webui.

bobbyinindia
9th October 2013, 09:33
Hi Bhusan,
I've used #pragma used dll ottdllbw (As I mentioned my program is working in Worktop)
I've also used start.application.local(file.name, true, ret) to open the excel directly on client system

bhushanchanda
9th October 2013, 09:51
Hi,

Try using

ret1 = start.application.local (file.name, FALSE,ret)

I don't think it will make any difference. Again, it would be helpful if you add your code. Does the program transfer the file on client machine?


Also check the Env. Variables on the server and the Build Version.

Refer the similar thread's:-

Thread 1 (http://www.baanboard.com/baanboard/showthread.php?t=60648)
Thread 2 (http://www.baanboard.com/baanboard/showthread.php?t=40671)
Thread 3 (http://www.baanboard.com/baanboard/showthread.php?t=64040)