PROPERTY:  Recordset::MarshalOptions

MarshalOptionsEnum = recordsetobject.MarshalOptions
recordsetobject.MarshalOptions = MarshalOptionsEnum


The MarshalOptions property sets or returns one of the MarshalOptionsEnum constants that dictates whether all or just the modified records will be marshaled (transferred) from the client to the server. The default is to marshal all.

MarshalOptionsEnum Constants
 
Constant Value Description
adMarshallAll 0 Returns all records to the server
adMarshallModifiedOnly 1 Return only modified records to the server

 
Code (VBScript):
If objRecordset.MarshalOptions = adMarshallModifiedOnly Then
   objRecordset.Update
   MsgBox "Only Modified Records Were Returned to Server", vbOK
Else
   objRecordset.Update
   MsgBox "All Records Were Returned to Server", vbOK
End If

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information