Professional Web Applications Themes

ADOXtra: find record - Macromedia Director Lingo

Does anyone know a good way to find a particular record in a recordset? I was hoping there would be something like rst.Seek(), but there isn't. The scenario is that I want users to be able to move backwards and forwards through a recordset, but I don't want to hold the connection open all the time. So I need to be able to get back to the right record each time the connection is reestablished....

  1. #1

    Default ADOXtra: find record

    Does anyone know a good way to find a particular record in a recordset? I was hoping there would be something like rst.Seek(), but there isn't.

    The scenario is that I want users to be able to move backwards and forwards through a recordset, but I don't want to hold the connection open all the time. So I need to be able to get back to the right record each time the connection is reestablished.


    James G webforumsuser@macromedia.com Guest

  2. #2

    Default Re: ADOXtra: find record

    ADOxtra uses Recordset interface definition of version 2.0. It does not
    contain Seek or Find methods. They were added in later versions.

    You may use VbScriptXtra that does not rely on any specific version and
    allows you to use whatever installed, including Seek or find methods of
    ADODB.Recordset.

    --
    Best regards,
    Eugene Shoustrov
    [url]www.xtramania.com[/url]


    "James G" <webforumsusermacromedia.com> wrote in message
    news:bgmspo$9f2$1forums.macromedia.com...
    Does anyone know a good way to find a particular record in a recordset? I
    was hoping there would be something like rst.Seek(), but there isn't.

    The scenario is that I want users to be able to move backwards and forwards
    through a recordset, but I don't want to hold the connection open all the
    time. So I need to be able to get back to the right record each time the
    connection is reestablished.



    Eugene Shoustrov Guest

Similar Threads

  1. find row number of specific record in another query
    By speedyG in forum Coldfusion - Getting Started
    Replies: 1
    Last Post: March 4th, 02:09 PM
  2. Getting ADOxtra working when published
    By Nils Rampaart in forum Macromedia Director Basics
    Replies: 1
    Last Post: April 20th, 05:52 PM
  3. Find record w/ conditions met in the same child record
    By Thomas Berg in forum FileMaker
    Replies: 2
    Last Post: October 21st, 05:01 AM
  4. Find Record
    By Joan in forum Microsoft Access
    Replies: 2
    Last Post: September 2nd, 10:18 PM
  5. Routine to find the correct pageindex for a given record.
    By Jim Mitchell in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: August 2nd, 12:36 AM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139