Consultor Eletrônico



Kbase P10842: Problems using the no-empty-space attribute on a browse.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   31/01/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

Problems using the no-empty-space attribute on a browse.

The last line of the browse does not appear if the no-empty-space attribute is set to TRUE

CAUSE:

Bug 20021107-008

FIX:

WORKAROUND:
Taking the the following code as example, get rid of the WIDTH attribute on the columns on the definition of the browse.


DEFINE QUERY UF-BRW FOR
customer SCROLLING.

/* Browse definitions */
DEFINE BROWSE UF-BRW
QUERY UF-BRW NO-LOCK DISPLAY
STRING(custnum) COLUMN-LABEL "ID" FORMAT "X(30)"
customer.NAME FORMAT "X(8)" WIDTH 13 /*OK with WIDTH commented out */
WITH DOWN NO-ROW-MARKERS SEPARATORS SIZE 60 BY 8.04
FONT 0.


BROWSE UF-BRW:NO-EMPTY-SPACE = TRUE.

DEFINE FRAME UF-FRM
UF-BRW.

PAUSE 0 BEFORE-HIDE.
ENABLE UF-BRW
WITH FRAME UF-FRM.
OPEN QUERY UF-BRW FOR EACH customer NO-LOCK
BY customer.custnum.
WAIT-FOR CLOSE OF THIS-PROCEDURE.
RETURN.