Results 1 to 2 of 2

Thread: Equivalent of DAO's LastModified Property in ADO?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    Bangalore, Karnataka, India
    Posts
    2

    Post

    Hi,
    I'm converting my database applications from DAO to ADO using VB 6.0..
    I want to know what is the exact replacement of DAO's LastModified property in ADO...?? If anybody knows, let me know asap...


    Thanx in advance,
    Manikandan.R
    Mailto: [email protected]

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

    Post

    You need store the bookmark when you have changed record.

    For sample:

    Dim varBookmark As Variant

    ' You change record here...

    ' Store the bookmark of the current record.
    varBookmark = rst1.Bookmark

    ' Go to the record indicated by the stored bookmark.
    If IsEmpty(varBookmark) Then
    MsgBox "No new record!"
    Else
    rst1.Bookmark = varBookmark
    End If

    Best regards.

    ------------------
    smalig
    [email protected]
    smalig.tripod.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width