Condividi tramite


UseMemoSize Property

Specifies the minimum size in bytes for returning result columns in memo fields. For example, if the width of a column result exceeds the value of UseMemoSize, the column result is stored in a memo field. Read/write.

Note

Setting UseMemoSize applies only to CursorAdapter objects with ODBC or ADO data sources and overrides the property setting of a cursor when attached to a CursorAdapter object. That is, changing the settings on the cursor using CURSORSETPROP() has no effect.

When working with this property for regular cursors, use the CURSORSETPROP( ) and CURSORGETPROP( ) functions.

CursorAdapter.UseMemoSize [= nValue]

Return Value

  • nValue
    Numeric data type. The nValue parameter has a default value of 255 bytes and can vary from 1 byte to 255 bytes.

Remarks

Applies To: CursorAdapter Class

This property applies primarily for remote views and setting it does not affect local views. However, you can preset this property for local views that will be upsized.

See Also

Reference

CursorAdapter Object Properties, Methods, and Events
CURSORGETPROP( ) Function
CURSORSETPROP( ) Function

Other Resources

Properties (Visual FoxPro)