setmrpsize_set_mrpsize_value_.htm
Navigation: ABC Library Reference > FileManager > FileManager Methods >====== SetMRPSize (set MRPSize value) ====== | |
SetMRPSize( MRPSizeFlag ),VIRTUAL
SetMRPSize | Sets the value of the UseMRP property. |
MRPSizeFlag | A BYTE value that sets the MRPSize property value. |
The SetMRPSize VIRTUAL method is used to set the value of the MRPSize property. This property is used in conjunction with the IP Driver processing of Multiple Request Packets.
Implementation:
SetMRPSize sets the value of the PROTECTED MRPSize property. You can use the GetUseMRP value to detect the MRPSize value set by the templates, and reset it at runtime via the SetUseMRP method.
Example:
IF Access:Orders.GetMRPSize() <; 100 !Currently using a small block size
Access:Orders.SetMRPSize(100) !Use an MRP Packet Size that will
!fetch (and cache) 100 rows in a
!single request
END
See Also: GetMRPSize
setmrpsize_set_mrpsize_value_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1