showother
FIELD
,
CODE

The showother statement forces Panorama to update some data on the screen.


Parameters

This statement has two parameters:

field – is the name of the field to update. If you want all fields to be updated, use «» or "".

code – is a number that specifies what information should be displayed (see below).


Description

The showother statement forces Panorama to update some data on the screen. The showother statement allows you to access Panorama’s internal display routines. However, you should avoid using this routine when one of the other show statements can be used instead (showpage, showline, showvariables, showcolumns, showvariables, or showrecordcounter).

The showother statement uses a code to specify what needs to be displayed. The available codes are:

4update after insertline
5move cursor up/down
6new line with cursor move
97record count (use ShowRecordCounter instead)
98column header change (changed field name)
99database redesign (insert field, etc)

This example renames all of the fields in the database, using the data in the current record as the new field names. The new field names are not displayed until the end of the procedure.

noshow
    field firstline(dbinfo("fields",""))
    loop
       fieldname «»
       right
    until info("stopped")
   showother «»,98 // display all new field names
endnoshow

See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but some codes are no longer available. We believe that no one ever used the discontinued codes.