Skip to Content
0
Former Member
Feb 18, 2009 at 04:27 PM

Use of oCompany object twice

22 Views

Hi All,

I need my add-on to connect as manager to use the DI API and as a normal user. I accomplished this, and works fine. The add on uses two objects:

oCompany, read from the login context cookie

s_oCompany, a static login, done during the start of the addon, which logs in the manager.

This works only on when the addon is run at the server side, not at a workstation. During connect of either of the two objects no errors are displayed.

The only error I get on workstation is when I try to use a Recordset, it states I am not connected.

Does anyone has ian idea why the addon might behave differently?

Thanks in advance,

Winfried Tiemessen