Recordset Nav Problem

I have a recordset that returns several results in a repeat region. It works fine until I try and insert a recordset navigation. I keep getting mysql_num_rows supplied argument is not a valid mysql result resource error on line 121 (which is: $totalRows_rsSearch = mysql_num_rows($all_rsSearch);). Is this one of the occasions that I need to move the recordset code somewhere? I know sometimes DW puts code after the fact which returns an error. I know I have results in this page, which show until I add navigation. Anyone familiar with this? It is a lot of code...so I didn't want to post it. I can though if I need to. Thanks!

This was a problem with POST as soon as I changed it all to
GET the problem went away. I haven't a clue why this happened. Went
back a few times and the same thing happened everytime.
Using POST on other pages in my website no problems.

Similar Messages

  • Recordset setup problem

    Hi!
    My first post - please be nice and... helpful :)
    My website has been working perfectly for last two years. It
    is dynamic PHP + MySQL site.
    Recently when I double click a recordset (in the Dreamweaver)
    in 8 cases out of 10 in the recordset window (Columns: box) I get
    "*** No Column Found" message.
    In 1 case out of 10 in the Table: drop down menu I get "***
    No Table Found" message.
    Sometimes everything loads up correctly, but when I hit
    Advanced and back to Simple at Columns: box I get "*** No Column
    Found" message again.
    Clicking Test gives me almost always proper results (content
    of the selected table - if I was able to select it) but sometimes
    (maybe 50%) I get a pop-up windows with warning "HTTP Error Code
    403 Forbidden"
    What is happening and why the problem is not constant but so
    random? i spoke with our web hosting company and with the adobe
    tech support - no answer...
    Any ideas?

    well, the conclusion is that Adobe support sucks very badly
    and because they dont want to bother helping paying customers they
    send them here.

  • Dreamweaver MySQL recordset connection problem

    Hi,
    I'm trying to create a recordset for the first time in
    Dreamweaver MX but am having problems getting the connection with
    the database to work.
    I have set up a MySQL database on my server (which I have
    checked and is OK), checked that PHP is running and have connected
    Dreamweaver to the server successfully ( in "Edit Sites" the
    "remote info" & "testing server" tests show a successful
    connection).
    When I try to connect to the database I get this sequence of
    events:
    1. Dialigue box: "Retrieving information from public_html"
    2. Dialigue box: "Waiting for server" (with progress bar)
    3. Dialigue box: "Dreamweaver cannot determine the remote
    server time. The Select Newer and Synchronise commands will not be
    available."
    4. Spinning ball for a few minutes (I'm using Mac OSX)
    5. back to "Waiting for server" dialogue box which remains
    for ages, eventually I click "cancel"
    6. "An unexpected error occurred"
    If anyone can shed any light on what I might be missing I
    would appreciate it greatly.
    Thanks - Zaphodz

    I am a newby to databases and am having a similar problem
    with asp and my remote sql database. My hosting provider told me to
    use this script:
    <%
    Dim DBName,DBUser,DBPass,objRS,objConn
    DBName="cham_members"
    DBUser="cham_member"
    DBPass="mypassword"
    Set objConn=Server.CreateObject("ADODB.Connection")
    objConn.ConnectionString="DRIVER={MySQL ODBC 3.51
    Driver};Server=localhost;Database="&DBName&";UID="&DBUser&";pwd="&DBPass&";"
    objConn.Open
    Set objRS=Server.CreateObject("ADODB.Recordset")
    %>
    Since that code doesn't work with DreamWeaver's Databases
    panel Custom Connection String dialogue box I came up with this
    one:
    DRIVER={MySQL ODBC 3.51
    Driver};Server=localhost;Database=cham_members;UID=cham_member;PWD=mypassword;objConn.Ope n
    Set objRS=Server.CreateObject(ADODB.Recordset)
    It connected but doesn't show my tables. I followed all the
    advice I found here;
    1. Connect using the "Use passive FTP"
    2. Corrected a few illegal hyphens in my database.
    3. Tried MySQL 127.0.0.1:3306 which would not connect at all
    4. Remove Connection Scripts. No change.
    5. I have been running DreamWeaver 7.01 update.
    I noticed the database connection names come up in the
    "Connections" folder so I opened the file it had just created and
    pasted in the script my hosting company gave me. Still no luck. I
    am determined to learn to create dynamic websites so I really
    appreciate your help.
    Thanks, Ann Y.

  • 8330 and sprint nav problem

    Dera Folks,
    Have a small problem. Am using sprint nav on 8330 curve. Can't get the audio to output out of my BB headphone jack into my car stereo via 1/8 headphone cable, as if I was listening to mp3s, etc. It works with my wife's HTC hero, with same nav system, same carrier. Is that just a limitation of the BB 8330. It outputs fine for music , etc. Thanks in advance. Tried all settings I could think of, ie, turning speakerphone on/off.

    Where are your contacts stored at? (Palm Profile, Google, EAS etc...) Also have you done a restart on the Pre? If not and you do not know how to do one here is the link.
    http://kb.palm.com/wps/portal/kb/common/article/23197_en.html

  • Send E-mail To Recipients From Recordset Attachment problem

    Hello !
    I got a recordset which stored a list of recipients emails.
    CREATE TABLE IF NOT EXISTS `tasks` (
    `id_task` mediumint(9) NOT NULL auto_increment,
    `id_procedure` mediumint(9) NOT NULL,
    `id_step` mediumint(9) NOT NULL,
    `lib_task` varchar(40) NOT NULL,
    `recipient_email` varchar(80) default NULL, <---------------- email to use
    `email_text` mediumtext,
    `url_document` varchar(100) default NULL, <------------------ name of document to send for THIS recipient as attachement
    PRIMARY KEY (`id_task`),
    KEY `id_procedure` (`id_procedure`),
    KEY `id_step` (`id_step`)
    There's less than 10 records to process.
    Table content :
    RECIPIENT 1 DOCUMENT 1
    RECIPIENT 2 DOCUMENT 2
    RECIPIENT 3 DOCUMENT 3
    RECIPIENT 4 DOCUMENT 4
    RECIPIENT 5 DOCUMENT 5
    RECIPIENT 6 DOCUMENT 6
    I want to use the "Send E-mail to Recipients From Recordset" behaviour and Dynamic Datas.
    The problem is that each recipients are well processed but all of them receive the attach document of the FIRST one !
    Email results :
    RECIPIENT 1 DOCUMENT 1
    RECIPIENT 2 DOCUMENT 1
    RECIPIENT 3 DOCUMENT 1
    RECIPIENT 4 DOCUMENT 1
    RECIPIENT 5 DOCUMENT 1
    RECIPIENT 6 DOCUMENT 1
    How can I fix it ?
    Thanks for your help. Jérôme.

    I try another way to do it, using a html link
    > function Trigger_EmailRecordset_E6(&$tNG) {
    $rsemailObj = new tNG_EmailRecordset($tNG);
    $rsemailObj->setRecordset("rsTasks");
    $rsemailObj->setFrom("{KT_defaultSender}");
    $rsemailObj->setTo("email_to");
    $rsemailObj->setSubject("{rsTasks.lib_task}");
    //WriteContent method
    $rsemailObj->setContent("{rsTasks.email_text}\n</br>\n</br>\n{rsTasks.url_document}</br>< /br>
    <a href=\"http://xxx.xxx.xxx.xxx/yyyyyyyy/{rsTasks.url_document}\">Clic here</a>");
    $rsemailObj->setEncoding("UTF-8");
    $rsemailObj->setFormat("HTML/Text");
    $rsemailObj->setImportance("High");
    return $rsemailObj->Execute();
    I wonder if I could use Dynamic Data _INSIDE_ {rsTasks.email_text} field ?
    Thanks. JM.

  • Recordset Nav and added URL

    I'm sure this is something simple, but...
    I have a recordset that pages at 25 records. The first asp
    page comes up fine but when I advance the recordset, it adds a
    directory prior to the index.asp page.
    As in
    http://www.thequestfor.com/
    - becomes - http://www.thequestfor.com
    /TQF/index.asp?offset=25
    The directory layer it's adding is a valid directory (it's
    actually the root of the domain) but any idea why it's being added?
    And what's pulling it?
    Any help would be appreciated.
    Thanks,
    Ron

    Ron,
    This can only be a problem with the link the recordset
    navigation has created. If you can't edit out the directory
    manually then i'd say look at the point when you created the
    recordset paging/navigation. There is a dropdown to choose the link
    you want to use. I can only assume that this process has somehow
    added the extra directory. You should have code that looks like
    this:
    <% If Not MM_atTotal Then %>
    <a href="<%=MM_moveNext%>">Next</a>
    <% End If ' end Not MM_atTotal %>
    I'd be happy to look at your code for you if you post it
    here.
    Regards
    Paul

  • HTMLB- Button Event CASE Dyn Nav problem

    Hi,
    I am prototyping a solution in BSP which has a page with two buttons at the bottom, a BACK button and a SUBMIT button which both send the User to different pages, and I can't make the re-directs work.
    I am trying to stick to HTMLB and not get lazy and use HTML.
    I have a page call it page1.htm, at the bottom there is a submit button and back button with htmlb code as follows:
    <htmlb:button       text         = "Back"
                        onClick      = "event_1" />
    <htmlb:button       text         = "Submit Request"
                        onClick      = "event_2" />
    in the EVENT HANDLER for the OnInputProcessing Event I have the following CASE statement:
    CASE event_id.
      WHEN 'event_1':.
      navigation->goto_page( 'default.htm' ).
      WHEN 'event_2':.
      navigation->goto_page( 'submitresult.htm' ).
    ENDCASE.
    the idea is that when the BACK button is pressed the OnInputProcessing event handler will pick this up and using the value of the EVENT_ID which can be either event_1 or event_2 the CASE statement will re-direct the User to the correct page.
    Problem -> it doesn't work.
    Does anyone have any ideas where I am going wrong.
    Thanks for your time,
    Milan.

    Hallo Milan, (interesting name, English?)
    Somehow we are just overlooking something. I quickly built a very small cut-and-paste example.
    Create a new BSP application, and add into it three pages called page1.htm, page2.htm and page3.htm. The source is below. (Note all three has the same event handler:).
    <b><u>onInputProcessing for all three pages</u></b>
    DATA: event TYPE REF TO if_htmlb_data.
    event = cl_htmlb_manager=>get_event_ex( request ).
    IF event IS NOT INITIAL AND event->event_name = 'button'.
      navigation->goto_page( event->event_server_name ).
    ENDIF.
    <b><u>page1.htm</u></b>
    <%@page language="abap" otrTrim="true"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page>
        <htmlb:form>
          <htmlb:button       text          = "Page 2"
                              design        = "NEXT"
                              onClick       = "page2.htm" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b><u>page2.htm</u></b>
    <%@page language="abap" otrTrim="true"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page>
        <htmlb:form>
          <htmlb:button       text          = "Page 1"
                              design        = "PREVIOUS"
                              onClick       = "page1.htm" />
          <htmlb:button       text          = "Page 3"
                              design        = "NEXT"
                              onClick       = "page3.htm" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b><u>page3.htm</u></b>
    <%@page language="abap" otrTrim="true"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page>
        <htmlb:form>
          <htmlb:button       text          = "Page 2"
                              design        = "PREVIOUS"
                              onClick       = "page2.htm" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    I highly recommend to run this in design2003. You will love that PREVIOUS/NEXT design on the buttons. If this example is not working for you, there are a few other things to be checked. But first try this.
    ++bcm

  • FileSender Adapter - Recordset Structure Problem

    Hi,
    I would like to know if it is possible to create a recordset structure in the FileSender Adapter for a flatfile where certain Record Types might reoccur.
    The source structure is as follows:
    3222:003:051201:093056:7596:001:F:100:0011:                :0000000000000000
    3222:003:051201:093056:7596:001:H:100:0011:                :0000000000000000
    3222:003:051201:093056:7596:001:S:100:0011:                :0000000000000000
    3222:003:051201:093056:7596:001:T:100:0011:                :0000000000000000
    3222:003:051201:093056:7596:001:N:100:0011:                :0000000000000000
    3222:003:051201:093056:7596:001:T:100:0011:                :0000000000000000
    3222:003:051201:093056:7596:001:F:100:0011:                :0000000000000000
    3222:003:051201:093056:7596:001:H:100:0011:                :0000000000000000
    3222:003:051201:093056:7596:001:N:100:0011:                :0000000000000000
    3222:003:051201:093056:7596:001:F:100:0011:                :0000000000000000
    The Key Field is the “F”, “H” etc.  A new record should be created for every “F” value. I specified the following Recordset Structure on the adapter: HRecord,,SRecord,,TRecord,,NRecord,,FRecord,1
    I am getting the following error message: “missing structure(s) before type 'TRecord'” on the Adapter.  It works fine if the “T” record does not repeat after the “N” record.  Any help would be appreciated.
    Thanks
    Rudi

    Hi,
      Not sure if this will help, but please have a look
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    Regards,
    Anirban.

  • Recordset Nav Help

    I'm sure this is something simple, but...
    I have a recordset that pages at 25 records. The first call
    page comes up fine but when I advance the recordset, it adds a
    directory prior to the index.asp page.
    As in
    http://www.thequestfor.com/
    - becomes -
    http://www.thequestfor.com/TQF/index.asp?offset=25
    The directory layer it's adding /TQF/ is a valid directory
    (it's actually the root of the domain) but any idea why it's being
    added? And what's pulling it?
    Any help would be appreciated.
    Thanks,
    Ron

    make the DT as
    DT_Flat_File
    -Root
    name
    address
    id
    etc
    so that name, id etc comes under root
    Now your recordset is root.
    In the other case;
    DT_Flat_File
    -name
    -address
    -id
    you will not be able to provide a recordset and it wudnt be possible to read the file using content conversion.

  • Droid Razr Nav Problem

    When I press the navigation icon and then press "contacts" to select a destination address I get a message saying none of my contacts contain addresses.  However, most of them do have addresses.  No problem selecting a contact address by voice command!  What's up??

    Wildman wrote:
    curtterp wrote:
    Razr_User wrote:
    When I press the navigation icon and then press "contacts" to select a destination address I get a message saying none of my contacts contain addresses.  However, most of them do have addresses.  No problem selecting a contact address by voice command!  What's up??
    This was a problem about 2 months ago with Google Navigation. It was corrected with an update.
    Check for updates for Google Maps. Go to Market->Menu->My Apps and see if there is an update. Update Google Maps and this should be foxed/
    Good catch, I didnt think that a device just released wouldnt already have the latest update in the software at release...
    All depends on when they called the code golden..... 
    I remember exactly the error message because I ran into it myself. I would have thought that the Maps would have been more updated for the device too, but that error was very specific, and I thought it was worth a shot to check for updates.

  • N95 with Garmin mobile SAT NAV, Problems

    I have just installed Garmin for the N95, and the gps is not picking up the satellite connectios, i have also tried the nokia maps and alos have the same problems.
    The phone is only 4mths old, and have been informed that the phone is OK, but my m8 has the same software and phone, and firmware but his phone shows full Satellite. Can anyone please help me with this problem?
    Cheers in Advance.

    Sorry if the option isn't there, I'm with Vodafone UK, it may be airtime supplier specific, but there are afew things I have te option to add payment to my phone contract, sorry if my suggestion is unavailable to you !
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Slide presentation – timeline and nav problems etc

    I'm trying to set up a simple slide show in Flash CS3.
    I have to set 120 slides (to run for about 30 minutes in a
    loop) I would like each slide to fade in from black and out to
    black. It would be even better if I could have each slide fading
    through one another (if that makes sense).
    I would like to have each image to enlarge and move slightly
    across the screen whilst it's fading in and whilst it fades out.
    I've found the slide making format in Flash (great).
    Is there anyway of setting up a generic 'style' – if
    that's the right word, for all the slides, so that all I have to do
    is place the images? I hate the thought of having to set every
    transition and motion tween for each slide.
    I've worked out that each slide has it's own time line and
    have sorted out a motion tween.... but when I apply behaviours to
    the 'Presentation' slide (in the vain hope that these will be
    inherited by all the other slides) and test it, only only one slide
    appears!
    Also, If I apply a transition to a slide it seems to affect
    the slide timings – no matter how many frames I insert for
    each slide timeline.
    Can anyone put me out of my misery – before I resort
    back to keynote!!!!

    Hi ooba – thanks for your reply. I failed to mention
    that I am a complete 'numb-nuts' when it comes to Flash.
    Therefore, I have absolutely no idea what you're talking
    about – it sounds great!
    But I don't know what a 'class' is – yet – I'll
    do some reading! And as for ActionScript, well, let's not go there
    – I have enough trouble with English! It may be that I'm
    asking too much of Flash – I just can't believe there isn't a
    tool or a process that can easily set up this type of presentation.
    I can just about handle having to place the images, set the
    timelines up with tweens... it's just that as soon as I start
    messing with the behaviours palette, all logic seems to go out of
    the window.
    For example, in Keynote, playing one slide then the next is a
    default process of the programme... now I know that Flash and
    Keynote are essentially two different programmes – but the
    end results aren't that different (it's the complexity and
    flexibility that sets them apart – in my view).
    For example, let's say that I do set up 120 slides, each with
    a timeline and motion tween. I could just apply a behaviour to the
    main / 'Presentation' slide, all it plays is the first slide
    – bizarre!
    Another thing, Adobe 'Help' says you can't have an 'In'
    transition running before an 'Out' transition – why not? you
    can in Keynote!
    Anyway ooba, – I'll stop moaning – and go and do
    some reading – many thanks for your reply. I'll let you all
    know if I sort it out!! Cheers!!

  • Problems with recordset in PHP/MySQL setting

    We use Dreamweaver CS5 for creating dynamic pages (PHP pages with MySQL database). We test the site locally on a Windows 7 operating system with EasyPHP as WAMP server.
    We often have a problem in managing the record set.
    The following problem occurs quite often:
    We take a PHP page. We create a recordset. We use a dynamic table or a repeated region to show the results of the recordset. So far so good.
    Then we want to change something to the recordset for example the filter. When editing the recordset, the advanced mode is shown, it is impossible to swith to the simple mode.
    By deleting the recordset the problem is not solved. By deleting and afterwards rebuilding the recordset, syntax errors occur. It seems that the php code for building the recordset didn't dissapear.
    The only solutions till now seems to completely restart with a new PHP page.
    Anyone has a solution for this or anyone did experience the same problem ?
    Thank you very much in advance.
    Ilse 

    You cannot switch to Simple mode in the Recordset dialog box if you have made any changes to the SQL in Advanced mode.
    Opening the Recordset dialog box to edit the settings does occasionally result in the code being inserted again instead of being changed. This appears to be an intermittent bug, which I have experienced myself, and know that others have complained about it, too. As far as I know, there is no solution other than to watch carefully the code that Dreamweaver generates.
    If you don't understand the code, you would be well advised to learn what it means and does. Relying on Dreamweaver to do everything for you severely limits what you can do with PHP/MySQL. Adobe regards the server behaviors as quick prototyping tools, rather than for developing production websites.

  • To send data from a Recordset (DI) to a matrix(grid) of UI.

    Hello to all, I am creating a demo, a SQL execute with a Recordset, any problem until the moment, when I want to pass the data to one you GRID (matrix) I don't eat to make it. 
    it grid it it is an object of UI and the recordset of DI 
    as I can supplement the DI with the UI.
    Thanks.
    from Chile.

    Hello Francisco,
    You also can use the recordset.
    oRecordSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
            oRecordSet.DoQuery("Select * from OHEM where EmpId < 10")
            SBO_Application.MessageBox("REgistros seleccionados :" & CStr(oRecordSet.RecordCount()))
            oMatrix = oForm.Items.Item("Rejilla").Specific
            oMatrix.Clear()
            If oRecordSet.RecordCount > 0 Then
                oRecordSet.MoveFirst()
                With oForm.DataSources.UserDataSources
                    While Not oRecordSet.EoF
                        .Item("Codigo").Value = oRecordSet.Fields.Item("EmpId").Value
                        .Item("Nombre").Value = oRecordSet.Fields.Item("FirstName").Value
                        .Item("Apellido1").Value = oRecordSet.Fields.Item("MiddleName").Value
                        .Item("Apellido2").Value = oRecordSet.Fields.Item("LastName").Value
                        oMatrix.AddRow()
                        oRecordSet.MoveNext()
                    End While
                End With
            End If
    Un Saludo.
    Jose Antonio.

  • Itunes wont import songs to a playlist

    I have a very weird problem in itunes 10 that just started.  I am still operating under os10.6.8.  i try to drag songs from a folder into a playlist i create.  the first time i do this there is no problem.  The second time i try with another batch of songs the little window comes up that shows that they are procesing but nothing happens in the window at the top of itunes.  the tunes remain light grey with the little circle and arrows next to them.  when i quit itunes it wont quit.  i have to force quit.  i reopen it and the first batch of sings works ok and then here we go again with batch number 2.  these are normal mp3 files from another folder on my desktop.  this is very annoying.  does anyone have any suggestions please?

    I am experiencing the same frustration. I think this is a major nav problem.

Maybe you are looking for