Query the Excel problem

Hello

I have create a cfm to export the data of my query, qOrds (coming from my cfc).

In fact, I have a button in flex that when I click, needs to export data to Excel for my request.
My flex button calls the following function:

My function in Flex

public void RetrieveExcel (): void
{
var urll:URLRequest = new URLRequest (" http://bang:8500/dcsnew/Export2xls.cfm"); ")

navigateToURL (url, "_blank");

}




TextHERE's my Exportt2xls.cfm

< cfinvoke component = "mycfc.cfc" method = "getOrds" returnvariable = "qOrds" > "
< name cfinvokeargument = "mydate" value = "#url.mydate #" >
< / cfinvoke >

< CFCONTENT TYPE = "application / vnd.ms - excel" >
< name cfheader = "Content-Disposition" value = "filename = report.xls" >

< cfquery name = "exportdata" dbtype = "query" >
SELECT *.
OF qOrds
< / cfquery >

< table >

< cfoutput >
< b >
< cfloop list = "" #exportdata.columnlist # "index ="TDFIELD">"
< td > #TDFIELD # < table >
< / cfloop >
< /tr >
< / cfoutput >

< cfoutput query = "exportdata" >
< b >
< cfloop list = "" #exportdata.columnlist # "index ="COLUMNNAME">"
#exportdata [COLUMNNAME] [exportdata.currentrow] # < td > < table >
< / cfloop >
< /tr >
< / cfoutput >

< cfreturn > #exportdata #.




I have an argument to date I want to spend at the MTC.
But when running the function, it gives me the following error:

"Mydate element is undefined in URL."

Where I have to pass the variable "mydate" in my flex code.

Any help would be much appreciated.



"var urlString:String = http://bang:8500/dcsnew/Export2xls.cfm?myDate= ' + myDataVar;
var url: URLRequest = new URLRequest (urlString);

Tags: Flex

Similar Questions

  • Problem by querying the Excel XML spreadsheet (namespace)

    Hello

    I have a file of Excel (2003) recorded as XML spreadsheet that I wish I could query in the database (10 gr 2) using extract/extractvalue. Somehow, the definition of this file namespace is preventing me from reading the values in the file. The excerpt/extractvalue function returns empty values (NULL). Can someone help me with an example how to query individual nodes in this file?

    Here is the query/XML:
    WITH x AS
         (SELECT HTTPURITYPE ('http://www.dataliberation.nl/newnxl/docs/F2083/xmltestsheet.xml').getxml () xmldoc
          FROM   dual)
    select  extract(xmldoc,'/Workbook/DocumentProperties','xmlns="urn:schemas-microsoft-com:office:office"') doc_properties
    ,       extractValue(xmldoc, '/Workbook/DocumentProperties/Author')      author
    from   x
    Thanks in advance,
    Christian

    I originally written/tested on 11.1.0.6, but I just it ran cleanly on 10.2.0.4 as well.

  • It is an intermittent problem, as the excellent files, powerpoint will corrupt network drive.

    It is an intermittent problem, as the excellent files, powerpoint will corrupt network drive. Any help will be much appreciated.

    To avoid this, I'm making sure that files are not left open so much because we run backup incremental three times in a week.

    Files is not very high - about - 2 MB

    Some screenshots are inserted

    Thank you

    Amit

    http://answers.Microsoft.com/en-us/Office/Forum/office_xp-Excel?tab=unanswered&TM=1373425932359

    above is office xp, excel forum you might be better off poster in this forum that many people are familiar with excel and powerpoint.

  • Display of the results of query in Excel on the Web

    Hello

    I try to display data from a query in excel on the web without creating an existing file. I know I can create a CSV using UTL_FILE and post it but I was hoping there was a way to do it without actually creating the file. I have a procedure that resembles

    PROCEDURE displayAsCSV is
    cursor STUD_CURS is
    Select * from students;

    BEGIN
    for STUD_REC loop STUD_CURS
    HTP. Print (' "' |") STUD_REC. FIRST_NAME. » " , " '|| STUD_REC. LAST_NAME. » " ');
    end loop;
    END;

    Anyone know if it is possible to display these results in excel in the browser by altering the MIME types or something similar?

    Thank you

    Check Tom owa_sylk utility with the appropriate mime type.

  • Satellite A30: Can not find the COM ports when trying to query the modem

    Hello.
    I have satellite A30 and I reinstall windows xp at home, but I can't find any com port whenever I try to query the modem the display hardware confilct, but in Device Manager no sign of error/confilct, I did everything what I can.
    Add the port,
    Add more then 1 port
    disable the printer port
    change the printer port
    Reinstall derver modem,
    In short, I've done everything I can. its always show (! yellow) mark.if I add the port and if I remove the port and there is no sign of error.
    If someone help me to solve this problem a little,
    regared.
    MGK.

    Post edited by: mghouskhan

    The modem uses a virtual com port. It s not a real port.
    I wonder why it usually happens after the installation of the new operating system, you must install drivers Toshiba together in the right order
    Installing the chipset utility is important

    The modem driver should do the work and you n t need to activate com ports
    Please choose the right side of the page of the Toshiba driver modem driver after installing the OS correctly. I think that's the key

  • Download and open the Excel files on iPad Pro

    I have the new iPad Pro.  I have Office 365 is installed.  In my work, I run queries of data on a server and the query result comes to me in Excel.  I want to download the Excel file and open it for editing on my iPad Pro.  What I have actually / to accomplish this task?

    You should be able to do this by using numbers

    https://www.Apple.com/ca/support/iWork-for-icloud/numbers/

  • Entries are concatenated in the same column in the excel file

    Hi, I really need help in this emergency. The problem is when I open the spreadsheet file after you run the program below, all the values that I believe are concatenated in the same column. However, there are 2 different analog inputs which I want in 2 different columns. I'm getting the 2 waveforms in the same graph, but when I open the excel file, it seems that the entries are concatenated in the same column. Someone knows how to fix this? Thank you very much.

    Hi Ben 64,.

    Thanks a lot again. I did as you said and I removed the dynamic data and logged files added directly to the results. I'm still checking if the program works as I can branch only when I return to work tomorrow. Tell me if you think it might be able to work this time. Thanks a lot again!

  • Read the specific calculation worksheet in the Excel file

    HI, I recently got juice generation of report tool and I want to open my excel file

    juice im trying here and there and looking in the Excel Thread but can't find many clues...

    My goal to do is open my worksheet 2 in my excel file and display in a table

    need help

    Here's something for you: I Fabienne ' t understand what is the problem because it seems to work with one of my own Excel files, and it does not work with the one you have joined (the values are different).

    Can you please tell me weather or not, it works on your PC?

  • Repeating the Excel 2003 security updates

    This last Tuesday, downloaded Windows updates and installed a first series of 10 updates, then during the next hours downloaded and installed at least four or five more simple updates before finally obviously get what she wanted and that constant updating process.  At this point, I really don't pay attention to what was being downloaded like every single update.

    Today, my computer has downloaded up to present nine has security updates for Excel 2003 only, each apparently exactly the same day, with each of them supposedly completely, install through downloading everything and install the process without a hitch... except for the constant repetition of the download.  I recognize that the time between each of them becomes a greater length, but so far, they are still happening.  Frankly, I am tired of this two and begins to wonder what is happening.  Each of them takes only about 3 minutes to do, nor requires a reboot, but it just keeps reappearing and there annoying.

    I want to know if there are in fact only a number of these necessary updates, and if so, why the hell can not all be made at the same time with a single download?  If not, is there something wrong here with Windows updates or my computer (the last scares me - I need this computer!)?  I have tried restarting my computer for the simple reason that I wanted to check my e-mail and various other things quickly before going to bed, because I had a long day of shopping, walking on and see doctors.  I want to stop and get some sleep, but this thing continues to display!  I'm at the point of waiting until it is crossed once and then stop really fast before another begins.

    Does anyone have an idea as to what is happening?  He just asked for another!

    EDIT: 09-13-2013. 10:33. after the last "update" and the display of this message, I was asked for the other two of these same updates until I finally did it with what I was doing, making total 12 from the moment I turned on the computer (constantly. 22:30) and when I turned it off (about 12 h 40). Each of the last three times were much more tense, but he showed.  This morning the update appeared again while my mother used my computer as his own refused to connect to the wifi while I worked with her.  The rear plug, my computer, I got the update that said she wanted, and it was the same thing.  He's been through, supposed to be updated and disappeared.  Three minutes later, another one appeared, SAME THING DAMNED.  I don't know if my update does not save the update or if there is a loop at the end from where the updates, but I'm giving up.  I hope there, can someone help me solve this problem, please!

    EDIT #2: 13/09/2013, 18:20.  Later - my mother's computer usually does its updates at least a day behind me.  Today, she started with the large group of 10 that my problems began.  However, she was able to see that one of the updates, it believes that it is the Excel one since the brief overview of the error message she had before his computer does restart, has not ended.  She saw something to the effect of "could not install, error writing."  His computer is now pulling him constantly trying to install the update to Excel 2003 security with the same number (KD2810048), that mine made.  We both left it sit at the point of what awaits us install OK just to stop the cycle and be able to work, as our computers are the two otherwise works well.

    Our computers are not connected in any way, except that mine is in wifi with the physical connection, and his box uses a wifi adapter to wireless interface with the box on my desk from his bedroom.  The only time where everything comes and goes is files between our computers, as she has the printer, is if I want to print.  I have to put the files on my USB key, in his computer and print from the files on the flash.  Together had just updated us all our security (MSE, free Spybot, Malware free - and they all work very well together and have for more than three years, so don't tell me that "they are not compatible") and ran clean scans on our computers before this all started.

    Is this relevant: http://blogs.technet.com/b/office_sustained_engineering/archive/2013/09/12/september-2013-public-update-update-targeting-for-microsoft-update-wsus-and-sccm.aspx

    Since the expedition of the September 2013 Security Bulletin Release, we have received reports of updates available for installation several times, or cases where the updates were not available via Windows Server Update Services (WSUS) or System Center Configuration Manager (SCCM).

    We have studied the question, established the cause, and we released new updates that will stop the unnecessary updates retargeting or the correct placement of these updates.

  • Photosmart Premium C309a print only the first column of the Excel worksheet

    Photosmart Premium C309a print only the first column of the Excel worksheet

    Hello

    I see you are having a problem printing to an Excel document.

    I suggest you install a default substitution such as the jet pilot desktop 990 c driver.

    You can follow this thread of Shane, who will show you how.

    After that, you can try printing again from Excel.

  • Hypherlink does not work in the Excel sheet

    In the Excel worksheet, if I insert the hypherlink in a cell, it doesnot work, it says "operation cancelled due to restrictions in effect on this computer", pl help unravel

    Errors with the opening of links in outlook,

    http://www.slipstick.com/problems/link_restrict.htm

    Mr. Fixit for me,

    http://support.Microsoft.com/kb/310049

  • Windows credentail Manager / SSO question, hope someone can help me out on the following problem that concerns me a fews months ago.

    Currently, our network has replaced a border router that connects to a Checkpoint firewall. After the replacement, the SSO service is fully does not. When you use IE to access my company's intranet, he invites me user intranet and pw whenever I close IE and reopen. I find that the credentials are already stored on the Credential Manager. However, the guest continues to show every time I run the application IE. Most users under this router with the same problem.

    In addition, the problem is not limited to EI. It happens on the Outlook as well.  I would really like to know

    (1) why the credentail crib does not work?

    (2) what is the mechanism behind?

    (3) is it possible the problem caused by the firewall and router? If Yes, what should I do on them to make the window manager of credentials to work?

    Hello
     
    Thanks for posting your question in the Microsoft Community forum. We are happy to help you.
    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums. You can follow the link to your question:
     
    Kind regards.
  • Publish everything in running the publishing application ATG - CRS Server. Unable to query the table 'das_id_generator '.

    Hello

    I use ATG version 10.2 and you have configured CRS application by IMC. All data import and deployments have been successful.

    Applications of short (MDEX 6.4.1, CASE 3.2.1 6.4.1.2, tools and Framework 3.1.2 platform services) are running: port 8006, 8500, race 8888.

    Now MY PROBLEM IS in TWO PARTS:

    PART 1)  Ran the store on jboss, has worked well, core application started without any error.  When trying to load the homepage, get following error message:

    16:42:25, 926 full repository INFO [SEORepository] SQL boot

    16:43:32, 653 ERROR [DynamoServlet]

    CAUGHT AT:

    Container: ATG.servlet.jsp.ContainerJspException: Cannot find the named component: / atg/registry/Slots/HomeTheme; Source: javax.servlet.ServletException: Cannot find the named component: / atg/registry/Slots/HomeTheme

    at atg.taglib.dspjsp.ParamTag.doStartTag(ParamTag.java:419)

    at org.apache.jsp.navigation.gadgets.homePagePromotions_jsp._jspx_meth_dsp_005fparam_005f0(homePagePromotions_jsp.java:1021)

    at org.apache.jsp.navigation.gadgets.homePagePromotions_jsp._jspService(homePagePromotions_jsp.java:219)

    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

    at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatcher.java:123)

    at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:883)

    at org.apache.jsp.index_jsp._jspx_meth_dsp_005finclude_005f1(index_jsp.java:633)

    to org.apache.jsp.index_jsp.access$ 1 (index_jsp.java:622)

    to org.apache.jsp.index_jsp$ Helper.invoke1 (index_jsp.java:685)

    to org.apache.jsp.index_jsp$ Helper.invoke (index_jsp.java:711)

    at org.apache.jsp.tag.web.store.pageContainer_tag._jspx_meth_c_005fwhen_005f1(pageContainer_tag.java:2757)

    at org.apache.jsp.tag.web.store.pageContainer_tag.doTag(pageContainer_tag.java:812)

    at org.apache.jsp.index_jsp._jspx_meth_crs_005fpageContainer_005f0(index_jsp.java:598)

    at org.apache.jsp.index_jsp._jspx_meth_dsp_005fpage_005f1(index_jsp.java:565)

    at org.apache.jsp.index_jsp._jspService(index_jsp.java:127)

    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    ...........................

    ...........................

    ...........................

    ...........................

    At this point, the CRS page opens but no short content. Don't load no registration, no image on the home page does display, NO SEARCH BOX displayed in the header.

    PART 2)  On top of that when I try to run the server pubishing on JBOSS, start does'nt server and responds to error. If the das_id_generator table exists in DB for all 4 patterns.

    16:09:41, 082 INFO [ScreenLog] with logging of external for debug messages and trace kernel to avoid hidden kernel logging information. Set the property /atg/dynamo/service/logging/ScreenLog.useInfoForDebug to false nucleus to use external instead trace and debug logging.

    16:09:41, 199 INFO [Version] HV000001: Hibernate Validator 4.3.1.Final

    16:09:41, 748 Truncating WARN [ClusterBroadcaster] serviceProperties "commandLineModules" key value

    16:09:42, size INFO [STDOUT] 345 (ERR_QUERY_TABLE, das_id_generator

    16:09:42, 351 ERROR [IdGenerator]

    CAUGHT AT:

    Container: ATG.service.IdGen.IdGeneratorException; Source: Container: ATG.service.IdGen.IdGeneratorException: Cannot query the table 'das_id_generator '. Please make sure that the table exists and is accessible before you start this service. ; Source: Java.Sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    at atg.service.idgen.PersistentIdGenerator.initialize(PersistentIdGenerator.java:389)

    at atg.service.idgen.AbstractSequentialIdGenerator.doStartService(AbstractSequentialIdGenerator.java:643)

    at atg.nucleus.GenericService.startService(GenericService.java:561)

    at atg.nucleus.NucleusNameResolver.startService(NucleusNameResolver.java:1726)

    at atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1397)

    at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:928)

    at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)

    at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)

    at atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)

    at atg.nucleus.ConfigurationRef.getValue(ConfigurationRef.java:119)

    at atg.nucleus.SimpleComponentState.setBeanProperty(SimpleComponentState.java:403)

    at atg.nucleus.SimpleConfigurationState.saveToBean(SimpleConfigurationState.java:240)

    at atg.nucleus.SimpleConfigurationState.configureBean(SimpleConfigurationState.java:263)

    at atg.nucleus.BeanConfigurator.configureBean(BeanConfigurator.java:297)

    at atg.nucleus.PropertyConfiguration.configureService(PropertyConfiguration.java:984)

    at atg.nucleus.SingleNucleusConfigurator.configureService(SingleNucleusConfigurator.java:84)

    at atg.nucleus.NucleusNameResolver.configureService(NucleusNameResolver.java:1643)

    at atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1368)

    ........................

    ........................

    ........................

    An early response would be really useful because we have demo in 10 days.

    Kind regards

    Ben Milot

    Thank you for this comment.

    I had created a fresh scheme for publication but the jboss was still pointing to the old.

    I've updated this pointers in file @ /server/ atg atg - ds - ds.xml. Worked like a charm!

    If 2nd EDITION solved.


    The QUESTION 1 depended on question 2. Once I ran publishing and completed the full deployment on ICC, 1st edition got resolved.

    Thanks to shaik and Grando

    Kind regards

    Ben Milot

  • When you use Adobe Acrobat Pro DC, how do I convert my PDF to Excel and have it include the header and footer from the original PDF? I can't get it on down to the Excel worksheet.

    When you use Adobe Acrobat Pro DC, how do I convert my PDF to Excel and have it include the header and footer from the original PDF? I can convert all information of an organization but the footer and header with no discharge in the excel worksheet.

    Hi trudyb54940538,

    Converting PDF file to sheet Excel spread, header & foot is not included.  I am able to reproduce the problem at my end.

    Thanks for reporting the issue.

    Kind regards
    Nicos

  • Output in the Excel file

    Hello

    How can I get a query result in the EXCEL file? I use Oracle11g in soundcards XP.

    Thank you.
    Asif

    Published by: asif.maqbool on April 16, 2013 02:17

    SQL > the value html markup on
    SQL > set off comments
    SQL > spool c:\.xls
    SQL > select * from XXXXXX where XXXXXX;
    SQL > spool off
    SQL > set markup html off

Maybe you are looking for

  • Cannot change bookmarks

    I can't change the bookmarks by clicking on bookmark the star next to the URL bar. I can do it on safe mode, Firefox but on normal firefox that I can't. I reinstalled firefox and it did not help then I localstore.rdf gummed initially, it helped but n

  • Firefox keeps "Does not respond" when I try to load anything

    When I close and open Firefox again when I go on a website and for example I'll click on a picture, it doesn't crash but it does not and after about 30 seconds it works, often happens now and I reset my firefox but still it keeps it and it's quite an

  • lack of credit

    Hello. I just logged into my account and nothing in my balance. The last time I had over $ 7.50 and is now 0.00. Checked the story - nothing. I am the only user of this account. I am deeply disappointed with Skype. You need once and he's not here. I

  • Sequence running into Installation of deployment

    To set up a system of deployment, I had to add a few global variables and a path to the search path list so that everything works correctly.  I have this in a movie file that checks the required variables and paths and creates them if not already the

  • problems with the laptop to the TV.

    I have a laptop connected to a hd tv (the wire is hd15). laptop is a Toshiba. Intel graphics accelerator driver for mobile used close or respond in some way, trying to open a simple solitaire game, it says no suitable graphics devices found. also the