Progress
Language Tutorial
for Character
VIEW-AS Phrases
As you learned in the last chapter, the default data widget for a database field is a fill-in field. If you don’t plan to display a particular field as a fill-in field, consider using the VIEW-AS property to establish a different default data widget. For example, if you want a particular database field to hold notes and miscellaneous information in sentence form, then a fill-in field would be a poor data representation for that field. It would be better to define it as an editor widget.
You access the VIEW-AS property by choosing the VIEW-AS command in the Field Editor and choosing the appropriate field. The VIEW-AS Phrase dialog box appears, as shown in Figure 4–9.
Figure 4–9: VIEW-AS Phrase Dialog Box
![]()
The selection list contains the data widgets that are legal for the field. When you select a widget type, the editor displays a syntax diagram for in the bottom editor, which you can copy into the editor at the top of the dialog box.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |