home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
clarion
/
statrep.zip
/
READ.ME
< prev
next >
Wrap
Text File
|
1992-04-16
|
2KB
|
47 lines
April 16, 1992 Tech11
STATREP.MDL Clarion Technical Support
The above file is a modified fragment from the 218A NETWORK.MDL file
of the *REPORT********* procedure model. Because a Report procedure
is a read-only operation, you should have no problems using it in your
STANDARD.MDL also.
The only difference between this Report procedure model and the regular
*REPORT********* procedure model is the addition of a status screen
that is opened when the report procedure executes, displaying a "Please
Wait" message, the total number of records in the file being accessed by
the report, and a running count of the number of records processed by the
report.
To implement the new procedure model, copy the Clarion-supplied MDL file
to a new filename and then bring up the new MDL file in Editor. Do a
[Ctrl]-[Page Down] to go to the very end of the MDL file and then do a
[Ctrl]-[G] to [G]et a file. Specify STATREP.MDL and press [Enter] to
append the new Report procedure model file to the end of your new MDL file.
Once you have saved your new MDL file, bring up Designer (don't use the
[Shift]-[F3]!) and, in the Base Window, change the Model File: line to
the name of your new MDL file and procede to the Application Summary
screen.
To add the Status Screen function to your Designer Report procedure,
highlight the Report procedure and press ^O to pull up the Options
window. At the very bottom, on the Procedure Model line, put the
name: STATREPORT. When you regenerate your code for that Report,
Designer will use the STATREPORT procedure model in your new MDL file
instead of the default *REPORT************ procedure model.
If you would prefer different screen colors for the Status Screen
then bring up that MDL file in Editor, place the cursor in the SCREEN
declaration portion of the *STATREPORT******* procedure model and hit
[Ctrl]-[F] to invoke the screen formatter to alter the screen as you
wish.
I hope you find this model file modification to be useful and an
enhancement to your final programs.
Brett
Tech11
Clarion Software Technical Support