objRS.Open parameters

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default objRS.Open parameters

    Are the values of adOpenForwardOnly and adLockOptimistic assigned
    automatically on the server or should I be preloading these with their
    numeric equivilents? Where can I find a list of these equivilents. (Lots of
    hits on Google, but not for what I'm looking for)

    objRS.Open "SELECT * FROM tblDenied", objConn,adOpenForwardOnly
    ,adLockOptimistic

    Thanks!


    Grahammer Guest

  2. Similar Questions and Discussions

    1. Open parameters do not work
      The open parameters specified in URL (e.g. <http://partners.adobe.com/asn/acrobat/sdk/public/docs/PDFOpenParams.pdf#page=6)> do not work (neither in...
    2. disable review and comment with PDF open parameters
      We have successfully created links on an HTML page to documents for review and comment using the "collab" PDF open parameter to set the comment...
    3. create parameters without creating parameters
      cant you create ado command parameteres without creating a parameter object? i have a function that takes the name of a stored proc, and two...
    4. Too few parameters to RecordSet.Open?
      Hi All! My ASP page below receives the following error: Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E10) Too few...
    5. #25886 [NEW]: failed to open stream: Too many open files in Unknown on line 0
      From: padair at pntsi dot ca Operating system: Solaris 8 PHP version: 4.3.3 PHP Bug Type: *General Issues Bug description: ...
  3. #2

    Default Re: objRS.Open parameters

    Actually, it doesn't need to be in the Application_OnStart() event handler.
    You can put it anywhere in your global.asa file.

    Cheers
    Ken


    "Grahammer" <postmaster@127.0.0.1> wrote in message
    news:elvSg7JaDHA.2932@tk2msftngp13.phx.gbl...
    : As usual... You never find the answer until 10 seconds after asking the
    : question...
    :
    : ...add the following line in the Application_OnStart event handler of the
    : GLOBAL.ASA file:
    : <!-- METADATA TYPE="TypeLib" FILE="C:\Program Files\Common
    : Files\system\ado\msado15.dll" -->
    :
    : Please, let me know if I'm wrong (or there's a better way)
    :
    : Thanks!
    :
    :
    : "Grahammer" <postmaster@127.0.0.1> wrote in message
    : news:uMqj95JaDHA.2620@TK2MSFTNGP09.phx.gbl...
    : > Are the values of adOpenForwardOnly and adLockOptimistic assigned
    : > automatically on the server or should I be preloading these with their
    : > numeric equivilents? Where can I find a list of these equivilents. (Lots
    : of
    : > hits on Google, but not for what I'm looking for)
    : >
    : > objRS.Open "SELECT * FROM tblDenied", objConn,adOpenForwardOnly
    : > ,adLockOptimistic
    : >
    : > Thanks!
    : >
    : >
    :
    :


    Ken Schaefer Guest

Posting Permissions

  • You may not post new threads
  • You may 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