[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
setFieldExtent()
Establish the extent of the array of fields for a work area
------------------------------------------------------------------------------
Prototype
ERRCODE setFieldExtent(
AREAP wa,
LONG extent
)
Arguments
wa is a pointer to self.
extent is the maximum number of fields that will be used by the
work area.
Description
setFieldExtent() establishes the maximum number of fields that the
work area will contain.
Default Behavior
Assigns extent to wa->uiFieldExtent and allocates memory for extent
number of fields in wa->lpFields.
Implementation Notes
. Most implementations should use the default behavior of
setFieldExtent(). However, if your RDD allows dynamic addition of
fields in the table, this method should set wa->uiFieldExtent to the
maximum number of fields allowed for the work area (or provide for
resizing of wa->lpFields) and allocate enough memory (in
wa->lpFields) to store wa->uiFieldExtent number of fields.
Files Header file is Rdd.api.
See Also:
AREA
addField()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson