Consultor Eletrônico



Kbase P110674: Error 3159 running Progress 9.0 ADM2 in later Progress version
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

Progress 9.1x
OpenEdge 10.x

SYMPTOM(s):

Getting error 3159 with a SmartDataBrowser:

Cannot Get on query <query> which is not opened. (3159)

Using ADM2 files from Progress 9.0B in a 9.1 or later Progress version

The error appears in browser.p in a statement:
hBrowse:QUERY = hDataQuery.

CAUSE:

Bug# 20000426-012

CAUSE:

The changes that have been made starting with 9.1B result in the situation where a query may not already be open when it is assigned to a browse so that the browse tries to execute a GET-FIRST against a closed query.

FIX:

Use 9.1B or later ADM2, where browser.p has been change and assigning the query to the browser is done with NO-ERROR option:
hBrowse:QUERY = hDataQuery NO-ERROR.