CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2001
    Posts
    13

    how to check if a already pass a record??

    how can i find out if i m on the last or the first record of a recorset ??? I do not want the BOF and EOF properties these do not represent the last-first record




  2. #2
    Join Date
    Aug 2000
    Location
    England
    Posts
    185

    Re: how to check if a already pass a record??

    You will need to get a proper recordcount first. Do this as follows:



    myRecSet.MoveLast
    myRecSet.MoveFirst





    Then you should be able to use BOF and EOF


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

Featured