Consultor Eletrônico



Kbase P15989: Error 3324 compiling a program with a SHARED query.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

SYMPTOM(s):

Error compiling a program with a SHARED query.

Buffer <buffer> in QUERY <query> must be a shared buffer since query is shared. (3324)

CAUSE:

As the error message suggests, a SHARED query can only be defined for shared buffers. For example, the following won't compile:

DEFINE NEW SHARED QUERY shQuery FOR customer.


FIX:

Define the buffer(s) in which the query is operating as shared too. For example:

DEFINE NEW SHARED BUFFER shCust FOR customer.
DEFINE NEW SHARED QUERY shQuery FOR shCust.