Anyone know whay I am getting this error?

Variable qUpdateVersion is undefined.
Here is my function:
    <cffunction name="UpdateVersion" access="public" returntype="query">
        <cfquery name="qUpdateVersion" datasource="ProjectMatrix">
            UPDATE tblProjectTracking
            SET dateRemoved=#form.dateRemoved#,dateToTakeDown=#form.dateToTakeDown#
            WHERE ID = #form.ID#
        </cfquery>
      <cfreturn qUpdateVersion> 
    </cffunction>
Here is my Invoke:
<cfinvoke
  component="hardy.Operations.components.Query"
  method="UpdateVersion"
  returnVariable="qUpdateVersion">
</cfinvoke>
I don't understand the error. My query looks good as it is just pulling 2 items from the previous pages form. I ran a CFDUMP and verified that the variables needed are being passed. When I remove the cfdump, I get this error and it is driving me mad. I am using coldfusion 8. I am missing something that is obviously going right over my head.
 

It would also be a good idea to pass in the id value, rather then relying on the component function to get the data from the form scope outside of itself.
Depending on where the component is coming from, it may or may not have access to the form scope.
    <cffunction name="UpdateVersion" access="public" returntype="query">
        <cfargument name="id" type="numeric">
        <cfset var qUpdateVersion = "">
        <cfquery name="qUpdateVersion" datasource="ProjectMatrix">
            UPDATE tblProjectTracking
            SET dateRemoved=#form.dateRemoved#,dateToTakeDown=#form.dateToTakeDown#
            WHERE ID = #arguments.ID#
        </cfquery>
      <cfreturn qUpdateVersion> 
    </cffunction>
<cfinvoke
  component="hardy.Operations.components.Query"
  method="UpdateVersion"
  id="#form.id#"
  returnVariable="qUpdateVersion">
</cfinvoke>

Similar Messages

  • Safari cannot install profile due to an unknown error. I didn't install anything. Does anyone knows why I'm getting this error message?

    I was watching a clip in livel, suddenly I have seen a error message on my iPhone screen  safari cannot install profile due to an unknown error,
    Does anyone know why I have got this message?
    I didn't install and did not want to install anything!

    You can not download items from the internet with an ipad, you can download from the app store or from itunes or some cloud services (dropbox) but not from browsers, there is an Iphone app for we transfer in the app store that appears that it can be used on an ipad as well.
    You may want to take a look, its free

  • I am trying to update my ibook 10.4.11so i tryed leopard but it said i needed  10.5 anyone know where i can get this from or anyother ideas

    i am trying to update my ibook 10.4.11so i tryed leopard but it said i needed  10.5 anyone know where i can get this from or anyother ideas please help

    What is your need to upgrade to Leopard? So you can sync to iPhone, iPad, etc?
    Mac OS X 10.5 Leopard installation system requirements
    http://support.apple.com/kb/TA24950
    Leopard is no longer available at the Apple Store but may be available by calling Apple Phone Sales @ 1-800-MY-APPLE (1-800-692-7753).
    If you can't obtain a retail install DVD from Apple, look on eBay or Google the installer part numbers to possibly find at an on-line store. Here's what to look for:
    MB427Z/A  Leopard 10.5.1 install DVD
    MB576Z/A  Leopard 10.5.4 install DVD
    MB021Z/A  Leopard 10.5.6 install DVD (single user)
    MB022Z/A  Leopard 10.5.6 install DVD (5-user family pack)
    Installing Mac OS X 10.5 Leopard
    http://support.apple.com/kb/HT1544
    Mac OS X 10.5 Leopard Installation and Setup Guide
    http://manuals.info.apple.com/en/leopard_install-setup.pdf
    After you install the base 10.5, download & install the 10.5.8 combo update at http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
    The DVD should look like this
    Caution - Leopard does not support classic mode. So, if you currently open OS 9 apps in classic mode, you won't be able to do this if you upgrade to Leopard.
     Cheers, Tom

  • I have old Macintosh LC that recently passed on,  anyone know where I can get this repaired or have the data transferred into something else?

    I have an old Macintosh LC that recently went down.  I am located in the Portsmouth, NH area.
    Anyone know where I can get this repaired or have the data transferred??

    How much $$ do you care to spend to transfer the data on the LC's 40 or 80 MB hard drive?  The original LC is now 21 years-old and has little if any market value (I know - I have an LC I and an LC III), so professional repair will easily exceed that.  It's considered "obsolete" by Apple's authorized repair shops, so parts are not available.  Was it starting up normally before it stopped working, and if so, were the date & time always correct after it had been disconnected from an electrical outlet?  If not and if startups have been hit or miss for a while, your LC undoubtedly needs a new PRAM battery installed.  It's a 3.6-volt ½AA lithium battery and is installed in a black plastic holder w/retainer cover clipped over it on the LC's motherboard.  The battery can be purchased at battery specialty retailers for about $8 or less, as well as from a number of online merchants.  If you don't mind paying 2-3 times the value of the battery, Radio Shack carries it.  If you need directions for installing the battery, post back.  It's the least expensive thing to try and a new battery has brought many a dead Mac back from the dead.  As for the internal hard drive, it could be removed and installed in a slightly newer, pre-G3 Power Mac having an internal SCSI bus.  If there are any thrift stores in your area, you might find a suitable Mac for this purpose.  This would involve removal of the hard drive from the LC and installation in the newer Mac, with a slight change in the LC's SCSI address jumper placement.  Once installed in the newer Mac, the files could be copied.  If this is more challenging than you planned on, you might check your area for a Mac User Group, where you might be able to take your LC and have someone transfer the files for you.  After the files have been transferred to another medium, you may have problems trying to open them on a newer Mac running a newer OS version than the LC's (System 7.0, 7.1, 7.5.x, or 7.6), if the programs aren't compatible.

  • Lock button is stuck, anyone know where i can get this fixed near blackpool or know a way of fixing it ???

    Lock button is stuck, anyone know where i can get this fixed near blackpool or know a way of fixing it ???

    Hi Pharao,
    just made quick 'n dirty a website, which will (hopefully...) explain and show, how to modify an iDVD theme to your needs..
    in result, the videoDVD's menu will look like this:
    (this is an iDVD-generated menu!)
    you wanted something like that...?
    follow this link:
    http://karsten.schluter.googlepages.com/modifyingidvd
    ... too many pics to publish the workflow here.. (lots of pics with nice red arrows.. ), but it is just a 3-step process ...

  • My MacBook has been "moving to trash" 4 items for a LONG time now.  I can't force quit this or stop it in any way. Does anyone know how I can get this to stop, I'm pretty sure its slowing my whole system down because it is constantly working on this.

    "Moving Items to Trash" has been up on my desktop for days now. I don't know who to get rid of this and believe its slowing my WHOLE system down.  Does anyone know how I can get rid of this, cancel it, forece quit, or anything? HELP!

    Try force quitting
    Press Command + Option + Esc

  • Does anyone with a PC/windows get this error message?,,,,,,

    I get this error message every time I open iTunes. "iTunes.exe has been set to run in compatibility mode for an older Version of Windows" It's the first thing that comes up. Although it doesn't affect the application from starting...it's really annoying. I've checked the compatibility mode and it's set off and it's current. When I have my computer check it on it's own it resets it and then I can't open iTunes at all. Any computer genius out there know why this is happening and how to fix it? I've also have installed iTunes about 100 times hoping it would fix the problem but it doesn't.

    Although it doesn't affect the application from starting...it's really annoying. I've checked the compatibility mode and it's set off and it's current.
    Doublechecking ... are any of the boxes in the Compatibility mode tab for iTunes checked at the moment? If so, uncheck them all and see if iTunes will start properly again.
    If the iTunes compatibility tab has no checked boxes whatsoever, also check to make sure that your QuickTimePlayer.exe compatibility tab has no checked boxes whatsoever.
    If nothing is checked for either iTunes or QuickTime, you may be having trouble with an errant registry entry.
    If so, RandomBehavior's post may be of some assistance:
    http://discussions.apple.com/message.jspa?messageID=10397771#10397771

  • Can anyone help why I am getting this error.

    I am seeing these errors when I try to test my database. I
    can't understand why. Does anyone have any ideas?
    The exact file with different field names works on a
    different table of the same database.
    Thanks for the help.
    Errors in ActionScript.
    Error: Error #2101: The String passed to
    URLVariables.decode() must be a URL-encoded query string containing
    name/value pairs.
    at Error$/throwError()
    at flash.net::URLVariables/decode()
    at flash.net::URLVariables()
    at flash.net::URLLoader/onComplete()
    AS3 CODE
    // Changed the mouse event.
    submit_btn.addEventListener(MouseEvent.CLICK, sendData);
    function sendData(evt:Event) {
    if (fname_txt.text!="" && lname_txt.text !=""
    && street_txt.text!="" && city_txt.text!=""
    && state_txt.text!="" && zip_txt.text!="") {
    //for those using PHP
    var myData:URLRequest = new URLRequest("
    http://**********************");
    myData.method = URLRequestMethod.POST;
    var variables:URLVariables = new URLVariables();
    variables.firstName = fname_txt.text;
    variables.lastName = lname_txt.text;
    variables.streetAddr = street_txt.text;
    variables.cityName = city_txt.text;
    variables.stateName = state_txt.text;
    variables.zipCode = zip_txt.text;
    myData.data = variables;
    var loader:URLLoader = new URLLoader();
    loader.dataFormat = URLLoaderDataFormat.VARIABLES;
    loader.addEventListener(Event.COMPLETE, dataComplete);
    loader.load(myData);
    } else {
    status_txt.text = "All fields are mandatory";
    function dataComplete(event:Event):void {
    status_txt.text = event.target.data.successMessage;
    //status1_txt.text = event.target.data.secondMessage;
    fname_txt.text = "";
    lname_txt.text= "";
    street_txt.text = "";
    city_txt.text = "";
    state_txt.text = "";
    zip_txt.text = "";
    PHP CODE:
    <?php
    //Capture data from $_POST array
    $fname = $_POST['firstName'];
    $lname = $_POST['lastName'];
    $street = $_POST['streetAddr'];
    $city = $_POST['cityName'];
    $state = $_POST['stateName'];
    $zip = $_POST['zipCode'};
    //Connection to database
    $connect = mysql_connect("localhost", "**********",
    mysql_select_db ("mttolcom_testDB", $connect);
    //Perform the query
    $result = mysql_query("INSERT into address (firstName,
    lastName, streetAddr, cityName, stateName, zipCode) values
    ('$fname','$lname','$street','$city','$state','$zip')");
    if($result) echo "writing=Ok&";
    else echo "writing=Error";
    echo 'var1=yes&successMessage=Response from server. The
    data has made the server!';
    // echo 'var2=yes&secondMessage=Your data has been
    received and processed!';
    ?>
    Thanks for the help.
    Mike

    Dear Jain,
    I used CA Type 10 CA Categories as Stock Split for corporate action as below.
    Configuration
    FWK0 posting
    Error Msg

  • Can anyone tell me why im getting this error while doing expdp?

    Hi,
    My question is
    I have a script scheduled in cronjob which is having stmts for taking export backup for many schemas.
    Before doing that it will remove all the dmp files in the directory to create new dmp files everyday.
    But yesterday, it took backup for only one schema, it failed for remaining schemas.
    So currently one dmp file is there in dmp destination.
    and previous day log files are there in log destinaton.
    So, after checking this i have taken logical backup for a single schema in background.
    then i checked in another terminal whether any backup is going on or not.
    It was showing nothing even though i have given the backup manually.
    So, i tried to take the backup again normally (not in background)
    then it was giving the following errors.
    ORA-31634: job already exists
    ORA-31664: unable to construct unique job name when defaulted
    Can any one tell why this happens?
    Thanks in advance.

    Error:     ORA-31664 (ORA-31664)
    Text:     unable to construct unique job name when defaulted
    Cause:     The job name was defaulted, and the name creation algorithm was
         unable to find a unique job name for this schema where the table
         name (for the master table) didn't already exist.
    Action:     Specify a job name to use or delete some of the existing tables
         causing the name conflicts.

  • Does anyone know what the fix to this error is?

    ERROR ITMS-9000: "Koiso_Invitational_Cup.ibooks: OPS/ibooks.ncx(5): element "content" not allowed yet; missing required element "navLabel"" at Book (MZItmspBookPackage)
    Thanks in advance. 

    Have you tried here:
    iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting

  • Why am I getting this error?

    Hello,
    I am trying to call my Java class from a JSP page. I am getting this error:
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\em\jsp\Test_0005fSummarySBU_0005fscreen$jsp.java:82: Wrong number of arguments in constructor.
    strQuery=new ListReturn(strEssUser, strProcessingMonth, strProcessingYear);
    I don't understand why I am getting this error as I pass three paramters to the Java class, and I accept three parameters in the constructor.
    JSP:
    <!-- META TAG is necessary to ensure page recompiles--------------->
    <META Http-Equiv="Expires" Content="0">
    <META Http-Equiv="Pragma" Content="no-cache">
    <HTML>
    <!-- The two Java Classes used to build the AlphaBlox query -->
    <%@ page import="com.home.tool.reporting.*" %>
    <%@ page errorPage="run_error.jsp" %>
    <%@ page import="java.util.List,
                     java.util.Collection,
                java.net.URLDecoder" %>
    <HEAD>
    <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
    <TITLE>Economic Model - Summary SBU Report</TITLE>
    <!--Run the onload here, re-retrieve params BM and Breport, pass to onload---------->
    <BODY bgcolor=#ffffff>
    <%
                    Collection strQuery = null;
                    String strEssUser = "test";
                    String strProcessingMonth = "JUL";
                    String strProcessingYear = "2002";
                    strQuery=new ListReturn(strEssUser, strProcessingMonth, strProcessingYear);
                    System.out.println(strQuery);
    %>
    </BODY>
    </HTML>Java class:
    package com.home.tool.reporting;
    import java.net.URL;
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    public class ListReturn extends ReportQueryBuilder
            public void ListReturn()
            public Collection ListReturn(String userID, String pMonth, String pYear)
                throws ReportQueryBuilderException
                //declare Collection store Value-Object pairs
                Collection c = new ArrayList();
                //declare and initialize variables
                CallableStatement cs = null;
                ResultSet rs = null;
                // declare call for stored procedure to pass in three parameters
                String pass = "{Call dbo.p_rep_srSbuList(?, ?, ?)}";
                try
                    //open CallableStatement using JDBC connection to SQL database
                    cs = con.prepareCall(pass);
                    //set IN parameters
                    cs.setString(1, userID);
                    cs.setString(2, pMonth);
                    cs.setString(3, pYear);
                    //execute call and return result set
                    rs = cs.executeQuery();
                    //loop through result set storing each record as a Value-Object pair
                    while(rs.next())
                        c.add(new ListBoxValueObjects(rs.getString(1), rs.getString(2)));
                catch (SQLException sqle)
              throw new ReportQueryBuilderException(replaceToken("Problems executing query: "+sqle.getMessage(), "'", "\\'"));
                finally
                    try
                        //close the Result Set and CallableStatement
                        rs.close();
                        cs.close();
                    catch(Exception e)
                        System.out.print("\nFATAL   : " + e);
                        System.out.print("\nFATAL   : " + e);
                return c;
    }Does anyone see whay I am getting this error??
    I can't figure out the problem!

    change this:
    <%
         Collection strQuery = null;
         String strEssUser = "test";
         String strProcessingMonth = "JUL";
         String strProcessingYear = "2002";
         strQuery=new ListReturn(strEssUser, strProcessingMonth, strProcessingYear);
         System.out.println(strQuery);
    %>To this:
    <%
         Collection strQuery=null;
         String strEssUser="test";
         String strProcessingMonth="JUL";
         String strProcessingYear="2002";
         lr=new ListReturn(strEssUser, strProcessingMonth, strProcessingYear);
         System.out.println(lr.getQuery())
    %>Then make a new public method in your Java called getQuery()
    public Collection getQuery();Do what you need to do to process it and return the value in getQuery. You will also probably need to make private variables in you declaration to do the processing on.

  • Been getting this "error" message for about a week

    Anyone know why I keep getting this message? Happens every time after I log in.
    "Error
    An error has occurred. We apologize for the inconvenience."
    There don't seem to be any consequences to this, I just continue on with no problems. Still, why do I always get that message

    You're welcome. Glad to help.
    Mahalo for the and Aloha from Big Island.

  • I get an error message when trying to sign into the support community with another Apple id. On the pick a username screen I get "an account utilizing this address already exists...." despite trying a few usernames. Anyone know how I can resolve this?

    I get an error message when trying to sign into the support community with another Apple id. On the <pick a username> screen I get "an account utilizing this address already exists.Only one account per email address is allowed on the Apple Support Communities" despite trying a few usernames. Anyone know how I can resolve this?

    This problem has been driving me demented. The instructions that Ivan gives have partially worked for me. By following his link
    "How to find out if you have multiple Apple IDs" I was able to identify that yes I did have two apple accounts using the same e mail address. One was very old that I used to use for the forum boards and one is my much more recent ID that I use for everything these days. So I changed the e mail address for the old account which is associated with these discussion boards and that's the account that I am now posting this from. However even though the two accounts now have different e mail addresses when I try to log onto the boards with my more recent main apple ID I still get all the same errors as described at the start of this thread by rodgers_j. And of course that's the one I want to use so that I only have one itunes account for everything.
    So if anyone has any more hints I'd be very grateful.

  • I get this error message when I try to back up my laptop:  Time machine could not complete the backup.  The backup disc image "/Volumes/Data/Lou Ann Buesing's Mac Book Pro. sparse bundle is already in use.  Anyone know how to fix it?

    I get this error message when I try to back up my laptop:
    ' Time machine could not complete the backup.  The backup disc image "/Volumes/Data/Lou Ann Buesing's Mac Book Pro. sparse bundle' is already in use. "
    Anyone know how to fix it?

    Reboot the TC.. Sometimes you need to reboot the whole network.
    This is what comes of Lion and then made worse in Mountain Lion of Apple not spending enough time to fix the bugs.
    Read C12 in pondini.
    http://pondini.org/TM/Troubleshooting.html
    C17 can be related I think.

  • Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?

    Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?

    Read this
    http://support.apple.com/kb/ts1583

Maybe you are looking for