DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: move next

  1. #1
    joseph Guest

    move next


    I would like to search for an item in a table. From that search, I want to
    move backwards and forwards in the data.

    When searching for a specific item in a table, I create a recordset containing
    one row of data. I can't move next or move previous from that search because
    the recordset contains only one item!!

    HELPPPPP
    (maybe using a bookmark would help)

    Thanx, joe





  2. #2
    Ron Phillips Guest

    Re: move next


    It sounds like you want to get all of the records in a table (Select *
    from tblTable), but locate a particular item in that recordset and be
    able to move forward/backward.

    In ADO try the .Find method, in DAO try the .FindFirst method. These
    will set the current row to the first matching item, then you still
    have the rest of the rows there for MoveNext/MovePrevious.

    Ron

    On 14 Dec 2000 11:55:49 -0800, "joseph" <pinkarnica@yahoo.ca> wrote:
    >
    >I would like to search for an item in a table. From that search, I want to
    >move backwards and forwards in the data.
    >
    >When searching for a specific item in a table, I create a recordset containing
    >one row of data. I can't move next or move previous from that search because
    >the recordset contains only one item!!
    >
    >HELPPPPP
    >(maybe using a bookmark would help)
    >
    >Thanx, joe
    >
    >
    >
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links