| Update method Updates
          the stream with the record contents. The stream and record position
          remains the same - over the same record. 
        Syntax:
        
          variable = object.Update 
         
        Parameters:
        
          returned value: Boolean success indicator. 
         
        Examples:
        
          Set sf = Server.CreateObject("newObjects.utilctls.SFMain")
Set file = sf.CreateFile(Server.MapPath("fill.rec"))
Set rec = Server.CreateObject("newObjects.utilctls.SFRecord")
rec.AddField "Field1", vbString, 20
rec.AddField "Field2", vbLong
rec.BindTo file
rec.MoveFirst
For I = 1 To 10
  rec("Field1").Value = "Value " & I
  rec("Field2").Value = I
  rec.Update
  rec.MoveNext
  Response.Write "Writing record " & I & "<BR>"
Next
rec.UnBind
         
        Remarks:
        
          It will be helpful to compare the sample above with the sample in
          the Write method's page. 
          The update operation is implemented in a way very similar to the
          similar methods in ADO and many other DB manipulation API/components.
          In fact after defining and binding the record to the stream the usage
          of the SFRecord object follows the same pattern. 
         
        Applies to:  SFRecord object 
        See also:  ReRead
           Supported on: 
          
            Windows 95/NT and later 
            Windows CE 3.0 and later 
            Pocket PC/Windows Mobile 2003 and later 
            Windows CE.NET 4 and later 
           
           |