The Form Specification File
A form containing a progress bar is defined in the form specification file reportprog.per.
Form
            reportprog.per:
01 LAYOUT (TEXT="Report")
02  GRID
03  {
04
05        [f001                  ]
06
07        [ib                    ]
08
09
10  }
11  END
12 END
13
14 ATTRIBUTES
15 PROGRESSBAR f001 = formonly.rptbar, VALUEMIN=1,VALUEMAX=10;
16 BUTTON ib: interrupt, TEXT="Stop";
17 ENDNote: 
- Line 
05contains the form field for thePROGRESSBAR. - Line 
07contains the form field for theinterruptaction view. - Line 
15defines thePROGRESSBARasFORMONLYsince its type is not derived from a database column. The values range from 1 to 10. The maximum value for thePROGRESSBARwas chosen arbitrarily, and was set rather low since there are not many rows in the customer database table. - Line 
16defines the buttonibas an interrupt action view withTEXTof "Stop".