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

  1. #1

    Default Recordset fails

    I am working with MS Access and Dreamweaver MX 2004. All code in my pages
    (this time for sure!) is generated by DW. No hand coding at all.

    My search results pages just will not work. I posted a few days back. I had
    been leaning toward some sort of "rights" problem, but now I don't know about
    that either.

    - I CAN see every record in the database in a web page (using navigation -
    multiple results thru repeat region, multiple pages using the
    Insert\Application Objects graphic navigation bar).
    - I CAN add a record to the database using the add.asp web page I created.
    - I CAN retrieve a single record correctly from the database using the Test
    button on the recordset while in Dreamweaver.
    - I CAN retrieve a group of records correctly from the database using the TEST
    button on the recordset while in Dreamweaver.

    - While testing in the browser from inside of Dreamweaver, I get back the
    result from the last search in Test inside of Dreamweaver..

    - When I move to local host to test the system outside of Dreamweaver, no
    matter what I enter into the search, I get back the result from the last search
    in Test or the last search in the browser accessed from inside of Dreamweaver
    (which was itself the result from the last search in Test).

    - While in test mode, consecutive searches return the correct results time
    after time. When I go to the Run command to use local host, the result of the
    last search in Test is what shows on the results page.

    - The site is set up in Dreamweaver with a folder on my desktop as local, and
    the test server and the remote server both set up in a folder at
    c:\inetpub\wwwroot\thatFolder\. There is only one copy of the database. It is
    in the remote site (in "thatFolder").

    Any suggestions would be appreciated!

    bolin Guest

  2. Similar Questions and Discussions

    1. Recordset Help
      Hey all, I am wondering if someone could help me create an SQL query for a recordset I am building. I have a database with many tables. In one...
    2. ASP Recordset Help!
      Hi, I have been trying to construct a results page in dreamweaver/asp if i put a search in with one parameter it works fine (ie, select name from...
    3. ADO - Recordset
      I was wondering if anyone can help me. I've converting an already existing system (designed in Access which produces reports for the accounts dept)...
    4. RecordSet.Move or RecordSet.AbsolutePosition??
      Hi, I'm trying to use either one of these methods to position the cursor in a specific position inside a recordset, but neither one seems to...
    5. => Recordset value in ADO
      Hello, I have created a recordset in ADO and would like to perform two different operations dependant on if the recordset contains one or...
  3. #2

    Default Re: Recordset fails

    Hi bolin

    Check the spelling in your request statement i.e. Request.Form("Fieldname")
    matches the form item you are submitting. As it sounds as if DW is using the
    default value setting from within your recordset creation dialogue.

    Regards
    Bren


    Bren Guest

  4. #3

    Default Re: Recordset fails

    The add record to database page works.
    bolin Guest

  5. #4

    Default Re: Recordset fails

    Thanks, Bren.
    I don't code much these days, but I think this is what you are referring to in
    the javascript on one of the pages.

    <%
    var rsResultsN__MMColParam = "126.2b3b";
    if (String(Request.QueryString("Field1")) != "undefined" &&
    String(Request.QueryString("Field1")) != "") {
    rsResultsN__MMColParam = String(Request.QueryString("Field1"));
    }
    %>

    The "126.2b3b" is what I put in as a default on the advanced tab. If I read
    that correctly, it should be replaced with the value held in "Field1". I have
    double-checked. There are no times in 624 records where Field1 (or Field2) is
    empty.

    I don't see how anything I try can work in DW off the Test button, yet the
    same values fail when I access for testing. Also it is true that Live View
    works - correctly. It was the testing of that which led me to change the
    default value from "1".

    Nothing should be mistyped, because all the code is DW generated.

    Thanks for the reply. At least it gave me more places to look for the answer.

    bolin 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