Supports - method of the AdoRecordset object
Description:
Returns a boolean value that specifies whether the AdoRecordset object supports a specific type of functionality.
Syntax:
Object Supports([Long cursoroptions])
Parameters:
cursoroptions | [optional] (Long) One or more CursorOptionEnum values that specifies what functionality this method should test for.
0x100 (default) - adHoldRecords Retrieves more records or changes the next position without confirmation all pending changes.
0x2000 - adBookmark Supports the Bookmark property.
0x20000 - adResync Supports the Resync method.
0x40000 - adNotify Indicates that the data provider supports notifications (specifies whether events of the AdoRecordset object are supported).
0x80000 - adFind Supports the Find method.
0x100000 - adIndex Supports the Index property.
0x200000 - adSeek Supports the Seek method.
0x1000400 - adAddNew Supports the AddNew method.
0x1000800 - adDelete Supports the Delete method.
0x1008000 - adUpdate Supports the Update method. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
oRs.Supports("C:\\\\Data\\\\testdata.dat", 1);
oRs.Close();
oRs.Supports "C:\\Data\\testdata.dat", 1
oRs.Close