Database results not showing

Anyone know why database results would show up blank on a
dynamic page. The recordset used to make the page tested Ok. The
search results used to test the recordset result in blank spaces
where the data results should be. Any ideas?

Create a DSN in the ColdFusion administrator to the database.
You should use
that instead of the path to the database. Then use the
tablename in the
query
Tom Muck
Dreamweaver Extensions/Articles --
http://www.tom-muck.com/
Cartweaver Development Team -
http://www.cartweaver.com
Extending Knowledge Daily -
http://www.communitymx.com/
"Rusyt9073" <[email protected]> wrote in
message
news:[email protected]...
> Hi, thank you for the reply
>
> I used dreamweaver and coldfusion to create the
index.cfm and results.cfm
> pages following the "Adobe Wildlife Project" tutorial.
> I am running this on my own computer as a local host.
Here is the code for
> the
> search page and results page. Can you see any problems?
Please help if you
> can
> :(
>
> SEARCH PAGE (index.cfm)
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
> <html>
> <head>
> <title>The Wildlife Project</title>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> </head>
>
> <body>
> <form name="form1" method="get"
action="results.cfm">
> <input type="text" name="textfield">
>  
> <input type="submit" name="Submit" value="SEARCH">
> </form>
>
> </body>
> </html>
>
>
>
>
>
>
>
> RESULT PAGE (results.cfm)
>
> <cfparam name="URL.DESC" default="1">
> <cfparam name="URL.STATE" default="1">
>
> <cfquery name="rs_wildlife" datasource="wildlife">
> SELECT "DESC", LINK, IMAGE FROM
F:\adobe\data\wildlife.wildlife WHERE
> "DESC"
> LIKE
> '%#URL.DESC#%' ORDER BY "DESC" ASC
> </cfquery>
> <cfquery name="newwildlife"
datasource="newwildlife">
> SELECT CONTACT, STREET, CITY, "STATE" FROM
> F:\adobe\newwildlife.CONTACT_INFORMATION
> WHERE "STATE" LIKE '%#URL.STATE#%' ORDER BY CITY ASC
> </cfquery>
> <html>
> <head>
> <title>The Wildlife Project</title>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> </head>
>
> <body bgcolor="#000000" text="#FFFFFF" leftmargin="0"
topmargin="0"
> marginwidth="0" marginheight="0">
> <table width="607" height="40" border="0"
cellpadding="0" cellspacing="0">
> <tr>
> <td height="40"><img name="banner2"
src="images/banner2.jpg"
> width="607"
> height="40" border="0" alt="Wildlife Project
Logo"></td>
> </tr>
> </table>
> <font size="2" face="Georgia, Times New Roman, Times,
serif"><br>
> <br>
> </font>
> <table width="607" border="0">
>
>
> <tr>
> <td><font size="2" face="Georgia, Times New
Roman, Times,
> serif"> </font></td>
> </tr>
> </table>
>
>
>
> <table width="607" border="0">
> <tr>
> <td><font size="2" face="Georgia, Times New
Roman, Times,
> serif"><strong>Here
> is the contact information you
requested:</strong></font></td>
> </tr>
> </table>
>
> <br>
> <font size="2" face="Georgia, Times New Roman, Times,
serif"> </font>
>
> <table width="607" border="0">
> <tr>
> <td width="574"> <p><font size="2"
face="Georgia, Times New Roman,
> Times,
> serif">The
> Wildlife Project<br>
>
<cfoutput>#newwildlife.CONTACT#</cfoutput><br>
> <a
>
href="<cfoutput>#rs_wildlife.LINK#</cfoutput>"><cfoutput>#newwildlife.STREET#</c
> foutput></a><br>
> CITY,  STATE  ZIP_CODE<br>
> PHONE<br>
> <br>
> </font></p></td>
> </tr>
> </table>
>
> </body>
> </html>
>

Similar Messages

  • New Records in database do not show up in resultset

    Hi,
    I have seen very little on this but I have a MS Access database that I have records in. If I change one of those records, I see the change in the resultset which I am just printing out for now using System.out.println . So I add new records manually to the database just so I am some records to test with and those records do not show up in the resultset. After doing something (not exactly sure what as I did a lot), I happen to go back and then saw the new records. So I add some more and could not see those records. I AM closing my resultsets, connections, etc. I read something where someone had the same problem and thought something was being cached which seemed reasonable to me. So I tried rebooting for the heck of it and I still see only the previous records and not the new ones.
    Any ideas,
    Thanks,
    Karl

    Hi Karl,
    There are problems some times like the one you mentioned when you are using both manual and programatic inserts/updates/deletes.
    When ever u face any such problems look out for following :
    Check if all ResultSet, Statement and Connection objects are closed before exiting the code. That is normal exit and abnormal exit (due to any error/exception).
    After manual insertion save and close target table.
    If the problem still exists then try re-compiling your code after closing the your Access (*.mdb) database.
    I hope this will work for you.
    regards,
    Humayun

  • SEARCH RESULTS NOT SHOWING THE NAME OF DOCUMENT

    When I search for a document on the top level, the results in my case are relevant but they do not display the document name, meaning I have to go into the document to check if it is the one I'm looking for. For some reason the name of the file is displayed
    in results as the first line of the document. I use a document template for letters meaning that the search results gives as list of documents that all have the same name displayed. This renders the search function almost useless as all the results are showing
    the same name. Is there a way to change the results page to display the name of the document??

    Hi,
    Based on your description, my understanding is that you want to show search results by document name instead of the Title.
    Here are two links about how to show document name in search results, you can use as a reference:
    http://chris.gg/2011/06/display-filename-instead-of-document-title-in-sharepoint-search/
    http://social.technet.microsoft.com/Forums/en-US/966db1b2-3288-4a31-8c98-19bf0dfc1316/show-search-results-by-document-name-not-by-title?forum=sharepointgeneralprevious
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Quiz result not showing up in Edge

    Hi there Edgers
    Really hoping someone can help me out with this problem. I've used Redesigns code(Seen Below) to design a quiz in Animate.
    I have two problems, when the first question is answered, it skips to the 3rd question instead of the 2nd. I am not sure why this is as I have have checked for overlapping buttons, there are none and it does not occur on any other questions, only the first. Second problem is the quiz reult is not showing up at the end, I have the "grade" and "result" divs in my timeline but when they are reached they do not change to display the quiz results.
    Help would be much appeciated
    i = 0;
    sym.$("btn4","btn24","btn34","btn44","btn54","btn64","btn74").click(function(){
              i++;
              sym.play("s" + i);
              if (i==1){
                        q1 = 10;
                        //sym.$("question1").html(q1);
              if (i==2){
                        q2 = 10;
                        //sym.$("question2").html(q2);
              if (i==3){
                        q3 = 10;
                        //sym.$("question3").html(q3);
              if (i==4){
                        q4 = 15;
                        //sym.$("question4").html(q4);
              if (i==5){
                        q5 = 15;
                        //sym.$("question5").html(q5);
              if (i==6){
                        q6 = 20;
                        //sym.$("question6").html(q6);
              if (i==7){
                        q7 = 20;
                        //sym.$("question7").html(q7);
              var FinalScoreHolder = q1 + q2 + q3 + q4 + q5 +q6 +q7;
              if (i=7){
                        //var FinalScoreHolder = q1 + q2 + q3;
                        sym.$("grade").html("You scored "+FinalScoreHolder+"%");
                        if (FinalScoreHolder >= 90) {
                        // play the timeline from the given position (ms or label)
                        sym.play("pass");
                        } else {
                        // play the timeline from the given position (ms or label)
                        sym.play("fail");
    As a side note, this quiz appears at the end of a 8 section mulitmedia learning environment. The code obove is the only code present in the "creationcomplete" window, the rest is done in the timeline.
    George

    In you if statement you need to change  the if statement from i=7 to i==7;  when you compare you need the double equal sign.
    var FinalScoreHolder = q1 + q2 + q3 + q4 + q5 +q6 +q7;
              if (i==7){
                        //var FinalScoreHolder = q1 + q2 + q3;
                        sym.$("grade").html("You scored "+FinalScoreHolder+"%");
                        if (FinalScoreHolder >= 90) {
                        // play the timeline from the given position (ms or label)
                        sym.play("pass");
                        } else {
                        // play the timeline from the given position (ms or label)
                        sym.play("fail");

  • Podcast Search results not showing all episodes

    I'm new to podcasting & our podcast isn't showing up properly.
    When you look at our podcast in the search results, only one episode shows up.
    There are three episodes total, but they show up only if you subscribe to the podcast.
    Is there a way for the search results to show all of our episodes?
    Our iTunes link is http://itunes.apple.com/us/podcast/the-hills-fellowship/id448179201
    Our RSS feed is http://sermon.net/rss/client/thehillsfellowship
    Please help if you can!
    Also, they were uploaded last week...so it's been enough time for them to be processed & show up.

    I'm afraid I can't give you a comforting answer.
    The feed at the URL you quote contains the tag
    <itunes:new-feed-url>http://sermon.net/rss/thehillsfellowship/main</itunes:new-feed-url>
    so the feed iTunes is now using is
    http://sermon.net/rss/thehillsfellowship/main
    and that is the one you should be updating - though in fact they are almost identical and it's possible that the method you are using updates them both.
    The feed at http://sermon.net/rss/thehillsfellowship/main is valid and I can't see anything wrong with it. As you say, it can be subscribed to and shows all three episodes: but the Store page (and thus the search results) show only the first episode.
    The Store should have updated by now: it's not unknown for the Store to get stuck and fail to update for several weeks: usually it eventually updates and I have no idea why it does this. It doesn't happen often, but I have seen the occasional complaint.
    However there is another issue which may be relevant: although the date of the latest episode is July 17th, the feed was updated today:
    <lastBuildDate>Mon, 15 Aug 2011 16:11:23 GMT</lastBuildDate>
    <pubDate>Mon, 15 Aug 2011 16:11:23 GMT</pubDate>
    This raises the possibility that there was something wrong with the feed before (hence the failure to update) but that whatever you've done today cleared it. That would indeed result in the three episodes showing on subscribing but not in the Store - it would take a couple of days or so to catch up.
    If that is the case the Store should update in a day or two. If not, then it might update at some future date or it might not: I can't explain that.
    I should at least give it two or three days and see what happens. Check the Store page using the link you gave, not the Search results as these often lag behind.
    If you don't get a result after several days you could try iTunes Support, but I have to tell you that they don't have a good record for helpfulness and the chances are you won't get anywhere with them.  Go to http://www.apple.com/support/itunes/ - click on 'Other iTunes Store Features' in the list and then on 'Podcasts'. You will see a link to either 'Express Lane', which will guide you eventually to some contact options, or you may see a link to email them.

  • Formula Result not showing proper result

    Hi friends,
    We have a scenario where if the total is <= 7 then then result *1 and if result >0 then result 0.
    Below is the actual scenario if closed with in <= 7 then result  is (closed with in 7 <= 7)*1 or else 0.  For calculating closed with in <= 7 we used selection and then included this selection in formula. but we don't have any closed with in 7 <= 0 even the result is showing 1. but in the selection its showing 0. please help me out

    Hi Suman,
    Thank you for the reply, yes this is the way im expecting the output. In the screenshot that I have attached  Closed with in 7 days(RKF) is a selection. Using this selection I created a  Closed with in 7 days(formula). The RKF is giving the correct result individually, but wrong result as 1 in Formula.  I request you to please let me know the correct formula that can be included.

  • cfoutput Results not showing up

    I have a varible set like this
    <cfset location = " Hello Charles">
    All i want to do is show that in an input text box....but for
    some reason when i put my value="#location#" that is not getting it
    done for me i have it in an output block so that i can see my
    results from the database...
    <cfoutput query="res">
    <tr>
    <td
    class="leftrightbottom">#res.last_name#,#res.first_name#</td>
    <td align="center"
    class="rightbottom">#res.date_seen#</td>
    <td aligm="center"
    class="rightbottom"><select><option>#res.provider#</option></select></td>
    <td align="center" class="rightbottom"><input
    type="text" size="20" name="local"
    value="#location#"></td>
    </cfoutput>
    Text
    <td align="center" class="rightbottom"><input
    type="text" size="20" name="local"
    value="#location#"></td>

    Yea that doesnt work eithier....wow, i didnt know this would
    be that complicated but thanks for the help.......But there has to
    be someway that the values for that varible can be outputted
    without breaking table structure because if i wrap that <input
    type="text> in a <cfoutput> tag it shows the result but it
    only shows one text box...if i dont have that the textbox are
    listed but they have no values in them though.....im just clueless
    on this, something so trivial seems so comples but ill live....If
    not I know how to do it in ASP.Net
    <table border=0 cellspacing=0 cellpadding="4px"
    align="center" height="1" bordercolor="#3399FF" >
    <tr>
    <td height="15px" background="topline.gif"
    class="lefttopbottom"><b><center>Name</center></b></td>
    <td height="15px" background="topline.gif"
    class="topbottom"><b><center>Appointment
    Date</center></b></td>
    <td height="15px" background="topline.gif"
    class="toprightbottom"><b><center>Provider</center></b></td>
    <td height="15px" background="topline.gif"
    class="toprightbottom"><b><center>Location</center></b></td>
    </tr>
    <cfoutput query="res">
    <tr>
    <td
    class="leftrightbottom">#res.last_name#,#res.first_name#</td>
    <td align="center"
    class="rightbottom">#res.date_seen#</td>
    <td aligm="center"
    class="rightbottom"><select><option>#res.provider#</option></select></td>
    <td align="center" class="rightbottom"><input
    type="text" size="20" name="location" value=
    "#location#"></td>
    </tr>
    </cfoutput>
    </table>

  • Script result not showing up in narrative view

    I'm making a org chart as a narrative view.
    If I do not tick "Contains HTML Markup" the result of the script is displayed. If I cut-n-past that content into a HTML file it display the result I'm looking for. However if I tick "Contains HTML Markup" the narrative view displays as empty.I have Attached two screenshots displaying this.
    Any ideas what I'm not doing right? Have I forgotten some config to enable scripts in narrative view?
    this is the script I'm using
    Prefix:
    <script type='text/javascript' src='https://www.google.com/jsapi'></script>
        <script type='text/javascript'>
    if(document.URL.indexOf("saw.dll?Answers") == -1) {
          google.load('visualization', '1', {packages:['orgchart']});
          google.setOnLoadCallback(drawOrgChart);
          function drawOrgChart() {
    if(document.URL.indexOf("saw.dll?Answers") == -1) { 
          var data = new google.visualization.DataTable();
            data.addColumn('string', 'Name');
            data.addColumn('string', 'Manager');
            data.addColumn('string', 'ToolTip');
            var myOrgArray=[];
            var tempStr = "";
    Narrative:
    myOrgArray.push(["@1","@3","@2"]);
    Postfix
         data.addRows(myOrgArray);
            var chart = new google.visualization.OrgChart(document.getElementById('div_orgchart'));
            chart.draw(data, {allowHtml:true});
        </script>
        <div id='div_orgchart'></div>

    Yes, sorry, client is obviously sufficient as well.
    Just tried your code and same behaviour here and it doesn't do squat either. Can't deep-dive into that code right now but it's definitely code-related issue rather than a browser one for example.
    Thought about trying d3js? Would be easier to reproduce for me as I use that more often than Google's data-munching pipe that pushes all your data through Google Analytics
    Edit: Clicked too quickly. Wanted to point you to the SampleApp dashboard page which hosts the example I meant: http://slc02oka.oracle.com:7780/analytics/saw.dll?Dashboard&PortalPath=%2Fshared%2F02.%20Visualizations%2F_portal%2F2.32…
    Username Prodney
    Password Admin123
    Edit 2: Jesus I really should stop clicking "Save Reply" just to not lose it. Simply show your analysis on a dashboard and you're fine. It'll work.

  • Search results not showing book

    I am having great difficulty in getting a book to show up when searching in iTunes. (this is not a back-door way of promotion!)
    Can you help me regarding metadata? This particular book (called Why They Win) has the words 'bridge', 'bidding', 'play' and several other keywords in the description. I thought the words in the description were used to help build search terms. However if these words either singly or in combination are used in the iTunes search box the book never shows up in the search results. What do I have to do to make it appear in search results without typing in the actual title or author which obviously most people will not know in advance?

    It's not compatible with iPhones (nor iPod Touches) - from the book's description page in the store :
    This book is available for download with iBooks on your Mac or iPad, and with iTunes on your computer. Multi-touch books can be read with iBooks on your Mac or iPad. Books with interactive features may work best on an iPad. iBooks on your Mac requires OS X 10.9 or later.
    Requirements: To view this book, you must have an iPad with iBooks 3 or later and iOS 5.1 or later, or a Mac with iBooks 1.0 or later and OS X 10.9 or later.
    Did you create the book with iBooks Author ?

  • ITunes Store Search Results Not Showing Up

    Unable to see the search results in the iTunes App Store.
    I'm using iTunes v10.6.3. Whenever I type in my search criteria, all I get is a black box underneath my search bar (see photograph, top right). Using my cursor, all I get when going down inside the black box area is horizontal white bars with no text.
    All I have installed to change the appearance of iTunes is the iTunes Button changer and the Crystal Black theme.
    Any help would be greatly appreciated as I have had this problem occurring in the last couple of updates. I cannot remember exactly when it first happened.

    FollowUp - Problem Solved.
    Just in case anyone else was experiencing the same issues, I pinpointed it down to a corrupted iTunes preference file - com.apple.iTunes.plist.
    I created a new user account, lauched iTunes and it worked fine, no black drop down window appearing, so I went back into my account and deleted this and relaunched iTunes and the drop down window showed all the search results again, not the black window as seen in my example image.
    Hope this helps others!

  • SharePoint Search Results Not Showing all Results but in Refiners showing that Type of File is existing

    Hi Team,
    We have configured the Search Results and Search Refiner webpart in our Page. In few cases we are seeing that in Search Refiner we seeing the type of file is existing. But the respective file type files are not appearing in Search Results. When we click
    on respective Search Refiner Type then the Search Result showing the respective value.
    Could anyone help us on this.
    Thanks, Dinesh
    Dinesh Pulugundla, Microsoft Certified Technology Specialist.

    Hello,
    We are currently looking into this issue and will give you an update as soon as possible.
    Thank you for your understanding and support.
    Regards,
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Search results not showing certain apps in appstore!!??

    Hello, When I search for a certain app/game in the app store on my ipad, it does not come up in the results..
    Have encountered this several times so far, who knows how long it has been like this..
    PLEASE help?
    I have done  the simple little obvious things, like closing app store, going back in, signing in and out, soft reset, checking the settings. I contacted customer support but the agent was unable to assist me, said I should call, I hate calling tech support so...
    I would really hate to do a hard reset as I have a lot of stuff on there.. IF as a last resort  I have to, would backing up my ipad in the iTunes store on the computer save my SAVE-GAME data?
    And would a hard reset for sure fix the problem..?
    Thanks in advance.
    US ipad 2, ios 7.0.3

    It could very well be that the app you are searching for on your iPad is one of those that is only compatible with the iPhone.
    For example, I just did an App Store search for an iPad *only* app (iSEM Oberheim synthesizer) that I have installed on all of my iPads...I performed the search on my iPhone 5 and got no results on that particular app...a few other apps came up in the search but they had nothing at all to do with the app in question.
    Another thing to check is if the app is indeed still available in the App Store. To verify, I'd search the App Store in iTunes on the Mac or PC...older apps especially get pulled frequently along with apps that maybe somehow violated a copyright issue or an app that the developer wanted pulled for some reason.
    Also, a reset (as outlined below) won't affect your data if you'd like to try it.
    Device Reset (won't affect settings/data/music/apps/etc)
    1. Press and hold (& continue to hold) BOTH the Sleep/Wake button & the Home button.
    2. Continue to hold BOTH (ignoring any other messages that may show) until you see the Apple logo on the screen.
    3. Release BOTH buttons when you see the Apple logo and allow the device to boot normally.

  • Google adsense search results not showing up

    I have a google adsense search engine that is supposed to search my site and post google ads at the top of the query.
    I copied and pasted the html into iWeb
    The search widget seems fine: http://www.onlinehighschool.org/SchoolSearch.html (the black one)
    But the separate page for results doesn't have anything even though the html was pasted there:
    try a search on the hyperlink to see.
    Any leads?

    FollowUp - Problem Solved.
    Just in case anyone else was experiencing the same issues, I pinpointed it down to a corrupted iTunes preference file - com.apple.iTunes.plist.
    I created a new user account, lauched iTunes and it worked fine, no black drop down window appearing, so I went back into my account and deleted this and relaunched iTunes and the drop down window showed all the search results again, not the black window as seen in my example image.
    Hope this helps others!

  • SqlConnection Database Tables not Showing

    I am connecting to my remote server but when I try to view my
    tables they don't show.
    I am using DreamweaverCS3, Database is MS SQL. My operating
    system is Win Vista Ultimate.
    Thanks.

    Yes, you do need to run a stored procedure. It's described in the PowerBuilder documentation.
    As Chris said you'd be far better off using the native interface driver. I've never heard of it being separated out anywhere, so if your installation software for ASE does not include OpenClient, then I doubt that it's a genuine copy of the software.

  • Database content not showing in JSP page

    hi guys,
    I am having problems with showing the database content in a JSP page.
    I check my database and see that the content do exists.
    Can someone pls kindly advise.
    Below is my code:
    <TABLE BORDER=1 CELLPADDING=0 CELLSPACING=0>
    <TR>
    <TD>Last</TD>
    <TD>First</TD>
    <TD>Phone</TD>
    </TR>
    <% try {
    Class.forName("com.pointbase.jdbc.jdbcUniversalDriver");
    Connection conn = DriverManager.getConnection("jdbc:pointbase:server://localhost:9092/hour17);
    Statement st = conn.createStatement();
    ResultSet rs = st.executeQuery("SELECT * FROM CONTACTTABLE");
    while(rs.next()) {
         String last = rs.getString("LAST");
         String first = rs.getString("FIRST");
         String phone = rs.getString("PHONE"); %>
         <TR>
         <TD><%=last%></TD>
         <TD><%=first%></TD>
         <TD><%=phone%></TD>
         </TR>
    <% }
         rs.close();
         st.close();
         conn.close();
    } catch(Exception e) {
         System.out.println("Error: " + e.getMessage());
    %>

    pardon me but that is servlet tags or jsp tags?
    I haven't touch much on jsp tags(custom) yet cos I was stuck with the JDBC part of JSP.
    Thanks anyway.

Maybe you are looking for

  • Configuration steps for EBP to SUS

    Hi All,    Can anybody please give EBP to  SUS configuration steps which is very urgently required . Thanks in Advance, Byomo

  • P1102 brand new (1 week old) prints wrongly from Power Point

    When printing directly from PowerPoint a circle that is defined as all white filled witha white edge line, this shows correctly on screen but when printed, the edge line becomes black. When printing the same using pdfFactory Pro and then printing on

  • "Using the profile doja that supports only http connection"

    Hello, I m streaming images from the camera and using the doja (like j2me)profile but it only supports http communication which i know only supports one request and response. I m getting some delayin getting live images.. Can u tell me if in a single

  • Can I share tags with other users on shared folders?

    I have a shared folder that contains research articles. I have been able to set up the shared folder successfully so that 2-3 users can access the folder, add files and delete files. I have also been able to use the "tag" feature which has made it ve

  • Counting Record from OPEN FOR statement

    Hi, Is there a way to count the number of record produce by OPEN ... FOR statement...? I tried using %ROWCOUNT. It doesn't seems to be working. It returned me 0 though when i printed the cursor, i had 7 records. OPEN p_cursor FOR sqlstatement; pnum_r