fgl_scr_size()

fgl_scr_size() accepts as its argument the name of a screen array in the currently opened form and returns an integer that corresponds to the number of screen records in that screen array.

Description: FGL_SCR_SIZE()%20function

fgl_scr_size() takes an array as its argument, which must be placed between double speech marks.  The array argument is an identifier for the screen array, which will be used in the INSTRUCTIONS section of the form that is current.  It may, as an alternative, take a CHAR or VARCHAR variable, which contains the array identifier.

fgl_scr_size() function returns the declared size of a specified screen array at runtime. In the following example, a form specification file declares two screen arrays, called s_rec1 and s_rec2:

 

The proper value is returned even though the array dimension is not specified in the form file.

An error is returned if no form is open or if the specified array is not in the form currently open.

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.