Consultor Eletrônico



Kbase 15628: How to display objects not associated with db field in SMV
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
How to display objects not associated with db field in SMV

INTRODUCTION
============
This knowledgebase entry describes how to display objects which are
not associated with a database field in a SmartViewer.

WHY YOU NEED TO KNOW THIS
=========================
Currently, the display-fields event procedure located in
DLC/src/adm/method/record.i, uses {&DISPLAYED-FIELDS} to display the
fields in a SmartViewer. This preprocessor only includes database
fields, therefore, any other objects in the viewer (fill-in fields or
combo-boxes) that are not associated with database fields are not
displayed. One problem with this is that initial values in these
non-database objects will not display as the object's value.

PROCEDURAL APPROACH
===================
In order to have all objects display you may create an adm
local-display-fields that does the following:

display {&DISPLAYED-OBJECTS} with frame {&FRAME-NAME} no-error.

The preprocessor {&DISPLAYED-OBJECTS} contains the objects in a
SmartViewer that are not associated with database fields.

REFERENCES TO WRITTEN DOCUMENTATION
===================================
Progress User Interface Builder Developer's Guide

Progress Software Technical Support Note # 15628