check if a recordset exists

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default check if a recordset exists

    in asp is there a way to determine wether a recordset exists or not . the
    problem is i have On Error Resume Next on my page and if duff data is
    entered and the recordset fails <% If Not rsnews.EOF Or Not rsnews.BOF Then
    %> is ignored and the code enters an infinate loop

    any ideas / suggestions ?


    ceaseanddesist Guest

  2. Similar Questions and Discussions

    1. Check to see if a page exists?
      Is there a way that I can check to see if a page exists? I was thinking it might be possible with CFHTTP or something along those lines but am not...
    2. Check if table exists
      ON.KG wrote: One thing to consider: you are making a trip to the database to determine if a table exists. If it exists, you are then making...
    3. HOW TO: check if a URL exists or not - ErROR 404 ?
      My php passes through some links. But I want to redirect if the URL does not exist. How best to check if a URL is there or not? Thanks, gsb
    4. Seeing If Recordset Object Exists !
      The property statement below will aim to identify whether a recordset object (rs) exists, and is not eof; and set its value the the recordset data....
    5. how to check if a process still exists in a C app
      I have the process id. I want to check if it is still running. What is the best (and fastest) way to do this? (for HPUX, AIX, Linux) I can...
  3. #2

    Default Re: check if a recordset exists

    You could use the logic in the 'Check Username Exists' server behaviour in
    the Login suite.

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004



    Julian Roberts 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