• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Let's Get More Intimate with... > Synchronizing a Form with Its Underl...

Synchronizing a Form with Its Underlying Recordset

A form's RecordsetClone property is used to refer to its underlying recordset. You can manipulate this recordset independently of what's currently being displayed on the form. Here's an example:

Private Sub cboCompany_AfterUpdate()
   Me.RecordsetClone.FindFirst "[ClientID] = " & cboCompany.Value
   If Me.RecordsetClone.NoMatch Then
      MsgBox "Client Not Found"
   Else
      Me.Bookmark = Me.RecordsetClone.Bookmark
   End If
End Sub


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint