Consultor Eletrônico



Kbase P95226: Server side of a static SDO runs on the thin client if there is no code to work with database tables
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/22/2004
Status: Unverified

FACT(s) (Environment):

Dynamics 2.1A

SYMPTOM(s):

Server side of a static SDO runs on the thin client if there is no code to work with database tables.

CAUSE:

This is expected behavior.
The constructObject API (container.p) checks for DB-REFERENCES and launches either server or client side. If there is no code in the static SDO accessing a db table, server side of the static SDO (sdo-name.w) even on the client instead of the client proxy version (sdo-name_cl.w).

FIX:

To change the behavior one of the following options can be used:
1) Set the container property RunDOOptions=clientOnly
2) Remove the server side code from the client
3) Create a dummy procedure with db-required = yes with some code to access a db table: FIND FIRST <table> NO-LOCK NO-ERROR.