Export form results - XLS and HTML/CSS

Hi,
When I save my form's responses to XLS on my PC, I can't open the XLS form: I get an error message saying that the document I'm trying to open is in a different format than the extension. I open it anyways, but the document looks empty.
Any idea? I run Windows 7.
Also: once I get my form response, I would like to embed some of these responses on my website in a nice presentation. I run an ad website: people submit their ad in a form format and I need to re-publish this ad in a format that does not look like a standard form. Any idea how to do that?
Thanks,
Vanessa

Can you please share the form with me ([email protected]). I will try it on my system.
Instructions on how to share can be found here : http://forums.adobe.com/docs/DOC-2462
Did you have a look at our Summary Report tab? You can publish (and embed in your website) the summary report. Let me know if you want more information about that.
Gen

Similar Messages

  • Emailing form results in Robo HTML

    Hi Guys.
    I'm an idiot. I have looked through this forum and I can't
    figure this out, and it seems like it must be so basic.
    I am using RoboHTML, and I want to use a form for feedback
    from my user peeps, because I want specific details that I'm afraid
    they won't include if I just make a "Mail me your thoughts" link.
    So - I created a form with very few elements (a couple of
    text fields...). My question is, what code do I need to use to get
    the "submit" button to email the form results (or can this be done
    without a cgi script)?
    Any help would be appreciated...or even if you tell me to
    stop wasting my time 'cause it ain't gonna happen....
    Chris

    Chris -
    Don't beat yourself up - you're not the first person with
    this issue. Hence, I'll cut-n-paste from a post I made previously:
    There are two families of mailto: methods. First, and most
    reliable, is the server-side application. You need some sort of
    server-based script to grab your user info, and ship it off.
    Nothing is saved on the user machine.
    Or, you can use a client-side script. But, it has severe
    limits. Some browsers don't recognize the Mailto links, and IE
    forces a 256-byte limit. Half of this paragraph is used up by the
    mailto header. So, you'll be lucky to get two sentences in the
    BODY= part of the message, if it goes at all.
    Using the FORM method allows a client-side workaround; the
    message content is indeed embedded in the .att file, but you need
    to set the parameters as enctype="text/plain" for the content to be
    legible.
    Here is a decent explanation of the client-side/server
    difference for forms:
    http://www.netmechanic.com/news/vol5/beginner_no19.htm
    ...here is a previous thread wherein I provided a client-side
    mailto that uses a proxy form to get the info into the .att file.
    It may be the same technique as the knowledgebase article, but your
    .att file can be read without a decoder ring...
    http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=447&threadid=10095 25&highlight_key=y&keyword1=mailto
    Further down the thread, you'll see where MergeThis has a
    client-side mailto: that is subject to the half-256 byte limit.
    Hope that helps.

  • Catalyst and HTML/CSS Round Trip with Flash?

    Question one:  I was wondering if Catalyst will be able to assist in importing into Flash an existing (or under development) HTML page which contains flash apps --to make technical changes such as insert more multimedia?  audio, swf, jpgs, etc?
    I have a nearly completed html/css page that contains Flash etc.,  but I'd like to add a new swf at the beginning of the page and edit it in Flash to be sympatico with the overall style established in Dreamweaver.  I am using CS4 Premium Creative Suite.
    I know how to bring Flash files into Dreamweaver but a round trip would be so great!  Can Catalyst do it? or what do you recommend?
    Question two: I am hoping to give Catalyst Beta a try where do I sign in for it?
    Joy Foraker
    I Web Woman

    Hey Joy,
    Currently there isn't any way to go between Flash Catalyst and Flash CS4. You can bring the SWFs you create in Catalyst into Dreamweaver in the same way you bring in other SWFs, but it won't be able to edit or change any of your current Flash files.
    And the public beta is getting close, we're still looking at late May, early June. You can sign up here - http://www.adobe.com/cfusion/mmform/index.cfm?name=flashcatalyst_notify - to be notified when Catalyst goes beta.
    =Ryan
    [email protected]

  • Export form results to pre-formatted Word or PDF email

    I am new to this forum and new to Dreamweaver 8 and I have a question.
    Here is what I want to achieve, using on online form:
    My salesman inputs his client's name, address etc.;
    The salesman selects the products or services that his client is interested in;
    Some of the items selected need to be named, so he has a field where he can type in the name;
    Once the salesman has entered all of the client's order (or quote), he hits submit.
    Now here is where it goes over my head.
    The results of the order, as typed in, are exported to a Word document, which has been pre-formatted with our colors, logo, etc. The finished product is a professional-looking document that can serve as either a proposal or an agreement.
    The document is automatically emailed to the client, and can be printed right from the client's computer. Instant good-looking document.
    Am I dreaming? Can this be done in Dreamweaver or using another prodcut that you might know about?
    Garfield
    Words to Webs
    [email protected]

    It's possible, but speaking from experience it is not a path that I would recommend a business to take.  Here's the reasoning behind this.  While it is good to make these nice looking quotes and other documents, are you planning on storing the information in a database or in some way that would be accessible to your invoicing system (or are you building the invoicing system? if so that is a completely different beast).  Having these are nice, but if the quoting system is separate from the invoicing system, it is a path that most businesses, and especially sales people, want to avoid.  It would be creating an extra unnecessary steps in their process.
    My suggestion to you would be that you if have the programming experience and want to undertake the job go for it.  Dreamweaver won't program this for you though.  So if you don't have the experience there are plenty of invoicing/quoting/sales solutions out there for .NET, PHP or whatever programming language you wish to use.  Off the top of my head for PHP, SugarCRM comes to mind.  I am pretty sure they have some invoicing modules, plus it is a CRM so your sales people can keep track of who they meet.

  • Oracle 11g Forms Configuration Forms.conf  (Image and Html files)

    Hello,
    We are configuring our forms.conf file as such.
    AliasMatch ^/forms/help/(..*) "/u01/app/forms/as_1/forms/appname/help/$1"
    AliasMatch ^/forms/icons/(..*) "/u01/app/forms/as_1/forms/appname/icons/$1"
    AliasMatch ^/forms/images/(..*) "/u01/app/forms/as_1/forms/appname/icons/$1"
    However when I go to
    https://server/forms/help/help.pdf
    I get 404 .
    Is there something I am missing here. file permissions are read across the board and the directory exists.
    Is there some other configuraiton I am missing.
    Thanks!

    Was able to fix this problem.
    The following is hte resolution.
    In plan.xml
    1. At the very top create a variables.
    <variable>
    <name>vd-application</name>
    <value>/u01/middleware/wls_forms/forms/forms</value>
    </variable>
    <variable>
    At the bottom Add
    <variable-assignment>
    <name>vd-application</name>
    <xpath>/weblogic-web-app/virtual-directory-mapping/[url-pattern="help/*"]
    /local-path</xpath>
    </variable-assignment>

  • Sql Developer 3.1 - Exporting a result set in xls generates and empty file

    Ever since upgrading to the Production version SQL Developer 3.1 (3.1.07) it appears that there is an issue when attempting to export a result set as a .xls format.
    If I attempt to export in .xls format, the exported file is an empty file (i,e no output). When I change the export type to txt, csv or xlsx the results are exported as expected.
    This appears to be a bug introduced in the Production version as I was successfully able to perform these tasks on the various 3.1 EA releases.
    Am I alone in this, have I misconfigured something or is this a bug?

    I keep having problems exporting to XLSX - mostly in cases where the data is voluminous and the format would be preferable over plain XLS as it does not have the 65krows limit ;-{ The data is read to the data grid (sometimes fast, sometimes much slower and "in chunks"), then the "task progress" won't move anymore, and the export file remains empty; If I cancel the task, trying to export again results in a message stating that sqldeveloper still has the output file locked.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Form results email when its loads and when it's submitted

    I have a form that sends the results to a database and also e-mails the results to me once the. It works, however, I get two e-mails send to me. The first is when the page is loaded, and the second is when the form is filled and submitted. Obviously I don't want it to send an email with blank results just because the page was accessed. Somewhere in my code I need to correct that it only should email on submit. I'm still learning and it took me a while to get to this point. Could someone look at my code and see what I've done wrong? Thanks. Patty
    <?php require_once('../../../../Connections/BidContractReg.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue= get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO Results (`Date`, Company, FirstName, LastName, MailingAddress, City, `State`, Zip, Contact, Title, Phone, Fax, Email, Website, Name, PhoneNumber, Emailcontact) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['date'], "text"),
                           GetSQLValueString($_POST['company'], "text"),
                           GetSQLValueString($_POST['firstname'], "text"),
                           GetSQLValueString($_POST['lastname'], "text"),
                           GetSQLValueString($_POST['mailingaddress'], "text"),
                           GetSQLValueString($_POST['city'], "text"),
                           GetSQLValueString($_POST['state'], "text"),
                           GetSQLValueString($_POST['zip'], "text"),
                           GetSQLValueString($_POST['contact'], "text"),
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['phone'], "text"),
                           GetSQLValueString($_POST['fax'], "text"),
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['website'], "text"),
                           GetSQLValueString($_POST['Name'], "text"),
                           GetSQLValueString($_POST['phonenumber'], "text"),
                           GetSQLValueString($_POST['emailcontact'], "text"));
      mysql_select_db($database_BidContractReg, $BidContractReg);
      $Result1 = mysql_query($insertSQL, $BidContractReg) or die(mysql_error());
      $insertGoTo = "HVAC/confirmation.htm";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_BidContractReg, $BidContractReg);
    $query_Recordset1 = "SELECT * FROM Results";
    $Recordset1 = mysql_query($query_Recordset1, $BidContractReg) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
      $emailSubject ='HVAC_Bid_Registration';
      $webmaster = '[email protected]';
      $datefield = $_POST['date'];
      $companyfield = $_POST['company'];
      $firstnamefield = $_POST['firstname'];
      $lastnamefield = $_POST['lastname'];
      $mailingaddressfield = $_POST['mailingaddress'];
      $cityfield = $_POST['city'];
      $statefield = $_POST['state'];
      $zipfield = $_POST['zip'];
      $contactfield = $_POST['contact'];
      $phonefield = $_POST['phone'];
      $faxfield = $_POST['fax'];
      $emailfield = $_POST['email'];
      $websitefield = $_POST['website'];
      $Namefield = $_POST['Name'];
      $phonenumberfield = $_POST['phonenumber'];
      $emailcontactfield = $_POST['emailcontact'];
      $body = <<<EOD
    Date: $date
    Company: $company
    Firstname: $firstname
    Lastname: $lastname
    Mailingaddress: $mailingaddress
    City: $city
    State: $state
    Zip: $zip
    Contact: $contact
    Phone: $phone
    Fax: $fax
    Email: $email
    Website: $website
    Namefield: $namefield
    Phonenumber: $phonenumber
    Emailcontact: $emailcontact
    EOD;
    $header = "From: $email\r\n";
    $headers .= "Content-type: text/html\r\n";
    $success =mail ($webmaster, $emailSubject, $body, $header);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>BidRegFormPDH</title>
    <style type="text/css">
    <!--
    body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #000;
    line-height: normal;
    border-top-color: #036;
    border-right-color: #036;
    border-bottom-color: #036;
    border-left-color: #036;
    #apDiv1 {
    position:absolute;
    width:939px;
    height:180px;
    z-index:1;
    left: 12%;
    top: 15px;
    text-align: center;
    margin-top: 0px;
    border-top-color: #036;
    border-right-color: #036;
    border-bottom-color: #036;
    border-left-color: #036;
    background-color: #E9E9E9;
    #form1 #apDiv1 p {
    font-size: 36px;
    font-family: "Times New Roman", Times, serif;
    #form1 #apDiv1 p {
    #form1 #apDiv1 #apdiv2 font {
    font-size: 16px;
    color: #633;
    font-family: Arial, "Arial Narrow";
    .font {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #009;
    body {
    margin-left: 12%;
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_callJS(jsStr) { //v2.0
      return eval(jsStr)
    //-->
    </script>
    </head>
    <body>
    <form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>">
      <div id="apDiv1">
        <p><img src="../../../../Images/images/CFB-LOGO-V-red-black-with-tag[1].GIF" width="55" height="56" alt="cfb" /><br />   
        Bid Registration Form<font color="#330099" size="2" face="Tahoma"><br />
        <br />
        <span class="font">Please provide your company's contact information below, and click the
        submit button to access the bid contract information.</span></font></p>
    </div>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
      <p><br />
        <img src="../../../../Images/images/Bars/Red Bar.jpg" width="939" height="13" alt="bar" /><br />
      <img src="../../../../Images/images/Bars/Blue Bar_edited-1.jpg" width="939" height="18" alt="bar" /></p>
      <table border="0" cellspacing="1" cellpadding="1">
        <tr>
          <td>Date</td>
          <td><label>
            <input name="date" type="text" id="date" size="30" />
          </label></td>
        </tr>
        <tr>
          <td>Company Name</td>
          <td><label>
            <input name="company" type="text" id="company" size="50" />
          </label></td>
        </tr>
        <tr>
          <td>First Name</td>
          <td><label>
            <input name="firstname" type="text" id="firstname" size="50" />
          </label></td>
        </tr>
        <tr>
          <td>Last Name</td>
          <td><label>
            <input name="lastname" type="text" id="lastname" size="50" />
          </label></td>
        </tr>
        <tr>
          <td>Mailing Address</td>
          <td><label>
            <input name="mailingaddress" type="text" id="mailingaddress" size="50" />
          </label></td>
        </tr>
        <tr>
          <td>City</td>
          <td><label>
            <input name="city" type="text" id="city" size="30" />
          </label></td>
        </tr>
        <tr>
          <td>State</td>
          <td><label>
            <input name="state" type="text" id="state" size="30" />
          </label></td>
        </tr>
        <tr>
          <td>Zip</td>
          <td><label>
            <input name="zip" type="text" id="zip" size="30" />
          </label></td>
        </tr>
        <tr>
          <td> </td>
          <td> </td>
        </tr>
        <tr>
          <td>Contact Name for Bids</td>
          <td><label>
            <input name="contact" type="text" id="contact" size="50" />
          </label></td>
        </tr>
        <tr>
          <td>Title</td>
          <td><label>
            <input name="title" type="text" id="title" size="50" />
          </label></td>
        </tr>
        <tr>
          <td>Phone</td>
          <td><label>
            <input name="phone" type="text" id="phone" size="50" />
          </label></td>
        </tr>
        <tr>
          <td>Fax</td>
          <td><label>
            <input name="fax" type="text" id="fax" size="50" />
          </label></td>
        </tr>
        <tr>
          <td>Email</td>
          <td><label>
            <input name="email" type="text" id="email" size="50" />
          </label></td>
        </tr>
        <tr>
          <td> </td>
          <td> </td>
        </tr>
        <tr>
          <td>Website</td>
          <td><label>
            <input name="website" type="text" id="website" size="50" />
          </label></td>
        </tr>
        <tr>
          <td> </td>
          <td> </td>
        </tr>
        <tr>
          <td>Additional Contact Information:</td>
          <td> </td>
        </tr>
        <tr>
          <td>Name</td>
          <td><label>
            <input name="Name" type="text" id="Name" size="50" />
          </label></td>
        </tr>
        <tr>
          <td>Phone Number</td>
          <td><label>
            <input name="phonenumber" type="text" id="phonenumber" size="50" />
          </label></td>
        </tr>
        <tr>
          <td>Email</td>
          <td><label>
            <input name="emailcontact" type="text" id="emailcontact" size="50" />
          </label></td>
        </tr>
        <tr>
          <td> </td>
          <td> </td>
        </tr>
        <tr>
          <td><label>
            <input name="submit" type="submit" id="submit" value="Submit" />
          </label></td><br />
          <td> </td>
        </tr>
      </table>
      <p><img src="../../../../Images/images/Bars/Blue Bar.jpg" width="939" height="18" alt="bar" /></p>
      <input type="hidden" name="MM_insert" value="form1" onclick="[email protected]" />
      <input type="hidden" name="MM_insert" value="form1" />
    </form>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>

    There are quite a few things wrong with your page:
    You don't need a recordset, because you never to anything with it.
    The mail script needs to go inside the conditional statement that performs the Insert Record server behavior. This will make the Insert Record server behavior no longer editable through the Dreamweaver dialog box.
    You assign the value of  $_POST['email'] to $emailfield, but later use $email, which has no value.
    You are putting an unfiltered email address into the headers of the mail() function. This exposes you to a malicious exploit called email header injection, which is likely to turn your form into a spam relay, and get you banned from your hosting company.
    You're using two different variables for the email headers: $header and $headers. The variable passed to the mail() function is $header, so the value of $headers is ignored.
    You're setting the content-type to text/html, but there's no HTML in the body of your email. Since the content-type is assigned to $headers, the variable that's never used, it makes no difference anyway.
    This is where you should move the email script to:
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
    $insertSQL = sprintf("INSERT INTO Results (`Date`, Company, FirstName,
    LastName, MailingAddress, City, `State`, Zip, Contact, Title, Phone,
    Fax, Email, Website, Name, PhoneNumber, Emailcontact) VALUES (%s, %s,
    %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['date'], "text"),
                           GetSQLValueString($_POST['company'], "text"),
                           GetSQLValueString($_POST['firstname'], "text"),
                           GetSQLValueString($_POST['lastname'], "text"),
                           GetSQLValueString($_POST['mailingaddress'], "text"),
                           GetSQLValueString($_POST['city'], "text"),
                           GetSQLValueString($_POST['state'], "text"),
                           GetSQLValueString($_POST['zip'], "text"),
                           GetSQLValueString($_POST['contact'], "text"),
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['phone'], "text"),
                           GetSQLValueString($_POST['fax'], "text"),
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['website'], "text"),
                           GetSQLValueString($_POST['Name'], "text"),
                           GetSQLValueString($_POST['phonenumber'], "text"),
                           GetSQLValueString($_POST['emailcontact'], "text"));
      mysql_select_db($database_BidContractReg, $BidContractReg);
      $Result1 = mysql_query($insertSQL, $BidContractReg) or die(mysql_error());
    // Email script goes here
      $insertGoTo = "HVAC/confirmation.htm";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    If you want to use the visitor's email address as the From header, you must filter it first. As long as your server is running PHP 5.2 or above, you can do this:
    if (filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL)) {
      $email = $_POST['email'];
    } else {
      $email = null;
    $header = "From: $email\r\n";
    If your server doesn't support PHP 5.2 or above, it's time to move. Earlier versions of PHP are no longer supported, and are likely to be insecure.

  • Export query results to excel from forms

    Are there any ways to export query results to MS Excel format files from a form.
    Thanks.

    Here's my working code out of one of my forms that does this:
    PROCEDURE export_transactions_to_excel IS
    -- Declare the ole objects
    application ole2.obj_type;
    workbooks ole2.obj_type;
    workbook ole2.obj_type;
    worksheets ole2.obj_Type;
    worksheet ole2.obj_type;
    cell ole2.obj_type;
    -- my variables
    rowCounter Number := 1;
    local_cursor_Record number := :System.Cursor_Record;
    old_cursor_Style varchar2(100);
    errors_occurred boolean := false;
    Ole_Error Exception;
    pragma exception_init( Ole_Error, -305500 );
    my_alert_id ALERT;
    alert_response NUMBER;
    procedure place_value_in_cell( rownum_in in number
    , colnum_in in number
    , value_in in varchar2 )
    is
    -- Declare handles to OLE argument lists
    args ole2.list_Type;
    begin
    args := ole2.create_arglist;
    ole2.add_arg(args, rownum_in); /* row number */
    ole2.add_arg(args, colnum_in); /* column number */
    -- the next line is for excel97
    -- cell := ole2.invoke_obj( worksheet, 'Cells', args );
    cell := ole2.get_obj_property( worksheet, 'Cells', args );
    ole2.Destroy_arglist( args );
    ole2.set_property( cell, 'Value', value_in );
    ole2.release_obj (cell);
    end place_value_in_cell;
    procedure SaveSpreadsheet
    is
    args ole2.List_Type;
    vDateStamp varchar2(20);
    begin
    vDateStamp := to_char(sysdate,'mmddyyyy') &#0124; &#0124; '_' &#0124; &#0124; to_char(sysdate,'hh24miss');
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'C:\PAPRETCC_' &#0124; &#0124; vDateStamp &#0124; &#0124; '.XLS');
    OLE2.INVOKE(worksheet, 'SaveAs', args);
    OLE2.DESTROY_ARGLIST(args);
    --args := Ole2.Create_ARgList;
    ole2.invoke( application, 'Quit' );
    end SaveSpreadSheet;
    procedure Open_EXCEL_Workbook is
    Begin
    application := ole2.create_obj('Excel.Application');
    --ole2.set_property( application, 'Visible', 'True' );
    -- Return object handle to the Workbooks collection
    workbooks := ole2.get_obj_property( application, 'Workbooks' ); -- invoke_obj w/ excel 97
    -- Add a new Workbook object to the Workbooks collection
    workbook := ole2.invoke_obj( workbooks, 'Add' );
    -- return object handle to the Worksheets collection for the
    -- Workbook
    worksheets := ole2.get_obj_property( workbook, 'Worksheets' ); -- invoke_obj w/ Excel97
    -- Add a new Worksheet to the Worksheets collection
    worksheet := ole2.invoke_obj( worksheets, 'Add');
    end open_EXCEL_workbook;
    PROCEDURE Write_Column_Headers IS
    BEGIN
    place_value_in_cell(rowCounter,1, 'Payer Name');
    place_Value_in_cell(rowCounter,2, 'Payer Address');
    place_value_in_cell(rowCounter,3, 'SSN');
    place_value_in_cell(rowCounter,4, 'Account');
    place_value_in_cell(rowCounter,5, 'Refund Receipt');
    place_value_in_cell(rowCounter,6, 'Pretax Allocation');
    place_value_in_cell(rowCounter,7, 'Tax Allocation');
    place_value_in_cell(rowCounter,8, 'Total Amount');
    place_value_in_cell(rowCounter,9, 'Orig Receipt');
    place_value_in_cell(rowCounter,10,'Orig Date');
    place_value_in_cell(rowCounter,11,'TR Number');
    place_value_in_Cell(rowCounter,12,'Date');
    place_Value_in_cell(rowCounter,13,'Status');
    place_value_in_cell(rowCounter,14,'Vt Number');
    rowCounter := rowCounter + 1;
    END Write_Column_Headers;
    PROCEDURE Export_The_Data IS
    original_receipt number;
    original_date DATE;
    original_transmittal_number number;
    BEGIN
    -- Return object handle to cell A1 on the Worksheet
    Go_block('Transactions');
    First_Record;
    LOOP
    IF alert_response = ALERT_BUTTON2 or
    (alert_response = ALERT_BUTTON1 and nvl(:transactions.rg_approval,'N') <> 'N' )
    -- :system.record_status = 'CHANGED')
    then
    place_value_in_cell( rowCounter, 1, :TRANSACTIONS.NDB_PAYEE_NAME );
    place_value_in_cell( rowCounter, 2, nvl(:TRANSACTIONS.NDB_PAYEE_ADDRESS,'unknown') );
    place_value_in_cell( rowCounter, 3, nvl(:TRANSACTIONS.NDB_SSN,'unknown') );
    place_value_in_cell( rowCounter, 4, :transactions.NDB_DESCRIPTION );
    place_value_in_cell( rowCounter, 5, to_char(:Transactions.transaction_group_EID) );
    place_Value_in_cell( rowCounter, 6, to_char(:transactions.ndb_pretax_amount) ); -- chg
    place_ value_in_Cell( rowCounter, 7, to_char(:transactions.ndb_tax_amount) );
    place_value_in_cell( rowCounter, 8, to_char(:transactions.amount_including_taxes) );
    original_receipt := revenue_pkg.original_receipt_number(
    :transactions.transaction_group_eid,
    :transactions.allocation_eid,
    :transactions.allocation_table );
    original_date := revenue_pkg.original_receipt_date(
    :transactions.transaction_group_eid,
    :transactions.allocation_eid,
    :transactions.allocation_table );
    original_transmittal_number := revenue_pkg.transmittal_number_for_receipt(original_receipt);
    place_value_in_cell( rowCounter, 9, nvl(to_char(original_receipt),'unknown') );
    place_value_in_cell( rowCounter, 10, nvl(to_char(original_date,'mm/dd/yyyy hh24:mi:ss'),'unknown') );
    place_value_in_cell( rowCounter, 11, nvl(to_char(original_transmittal_number),'unknown') );
    -- COMPTROLLER COLUMNS
    IF ( alert_response = ALERT_BUTTON1 and nvl(:transactions.rg_approval,'N') <> 'N' )
    THEN
    place_value_in_cell( rowCounter, 12, to_Char(sysdate,'mm/dd/yyyy') );
    place_value_in_cell( rowCounter, 13, nvl(:transactions.rg_approval,'N') );
    place_value_in_cell( rowCounter, 14, nvl(to_char(:location.vt_number),'NULL') );
    END IF;
    End If;
    exit when :SYSTEM.LAST_RECORD = 'TRUE';
    NEXT_RECORD;
    rowCounter := rowCounter + 1;
    END LOOP;
    END Export_The_Data;
    /* ----------------------------------- main procedure --------------------------------------*/
    BEGIN
    Begin
    my_alert_id := Find_Alert('THREE_BUTTON_ALERT');
    IF NOT ID_NULL( my_alert_id ) then
    alert_Response := SHOW_ALERT( my_alert_id );
    If (alert_response = ALERT_BUTTON1) OR
    (alert_response = ALERT_BUTTON2) then
    old_Cursor_style := get_application_property( CURSOR_STYLE );
    set_application_property( CURSOR_STYLE, 'BUSY' );
    Open_EXCEL_WorkBook;
    Write_Column_Headers;
    Export_The_Data;
    Else
    Raise Form_Trigger_Failure;
    End If;
    Else
    Raise Form_Trigger_Failure;
    End If;
    exception
    when Form_Trigger_Failure then
    RAISE;
    when Ole_Error then
    AlertSend( 'There was an error exporting the data to Microsoft Excel (receipt# ' &#0124; &#0124;
    to_Char(:transactions.transaction_Group_eid) &#0124; &#0124; ')', false );
    errors_occurred := TRUE;
    when others then
    AlertSend( SQLERRM, false );
    errors_occurred := TRUE;
    End;
    Ideally, I'd like to call SaveSpreadsheet in Export_The_Data, and just ExitExcel here,
    but it prompts for whether to save the changes and I don't know how to get around that
    right now. SO, we just save and exit, regardless.
    SaveSpreadSheet;
    -- Release the OLE objects
    ole2.release_obj (worksheet);
    ole2.release_obj (worksheets);
    ole2.release_obj (workbook);
    ole2.release_obj (workbooks);
    ole2.release_obj (application);
    IF NOT errors_occurred then -- stay on the record that caused the error
    Go_Record( local_cursor_Record );
    End If;
    Set_Application_Property ( CURSOR_STYLE, old_cursor_style );
    EXCEPTION
    When Form_Trigger_Failure then
    null;
    When Others then
    AlertSend( SQLERRM );
    END export_transactions_to_excel;

  • Trying to export my forms results to excel  error message is adobe can not save as the file is open

    trying to export my forms results to excel, error message is adobe cn not save as the file is open in another location,   however, no other file is open.

    Thanks for continuing the help, but it is a medical realted form and I will just keep it confidential at this time.
    Larry Lakes,  Executive Director
    The HANDLE Institute
    [email protected]
    541-639-1588
    P. O. Box 6264
    Bend, OR  97708

  • RichEditableText: export().equals() and HTML export

    1. How can I find out that two richEditableText.export() are equal?
    At least the order of the attributes in the TextFlow element is random which means that exported strings cannot be compared directly. Take for example the trunk.mxml from http://bugs.adobe.com/jira/browse/SDK-21836 and compile+run it several times and you see the different order of attributes. Is there a utility method somewhere to compare two exports? (BTW releasing the source of TLF would ease these kind of bug hunting...)
    I know how to use richEditableText.textFlow.generation but this only indicates changes in the current component.
    2. Is supporting html import/export on the roadmap?
    (This question got burried in the information stream... http://forums.adobe.com/message/2042067#2042067)
    Gordon Smith: TLF's TextFilter class supports importers and exporters for HTML_FORMAT, but I haven't tried them and don't know how robust they are.
    I think the HTML export in TLF is not yet stable. The thing is that once
    it is stable there is pretty much no way to insert the import
    functionality into RichEditableText without rewriting most of the
    component. In my opinion, it should be either integrated into
    RichEditableText even at this early stage or RichEditableText should be
    refactored to allow extending it in an easier way.
    Thanks for any hints,
    Marc

    Hi Abhishek,
    Nice conversation I do not expect that TLF covers the full HTML standard. After all, browsers are too good when it comes to HTML rendering...
    with varying degrees of fidelity.
    I remember reading in the TLF forum, that HTML import/export was experimental. That's why I wrote that HTML is not ready for prime time. Also your comment shows that HTML is a poor choice from a Flex perspective. Unfortunately, it's unclear what varying degrees of fidelity really means as I'm not aware of any precise documentation or code.
    Concerning your idea about passing around a (mutable) instance of TextFlow, I'm not a great fan. The power of markup is besides others, that it is a comparable description of content and format. So I definitely prefer an equal function. If this function doesn't make it into the Flex 4 release, I  reluctantly add to each TLF markup a dirty flag which is based on TextFlow.generation.
    As mentioned before, I prefer TLF could export all content and formatting into HTML compliant format. There are many reasons why HTML is a huge benefit over any new, widely undocumented format (this is not specific to TLF or FXG). A few reasons that come to my mind:
    - Server side: Apache Lucene has a battle-proof extractor. With TLF or FXG, I had to write and configure my own.
    - Server side: Extract and modify links in content. This is obviously very easy with HTML as there are age-old libs available.
    - Flash Player: Compare two TLF markups. There might be also no actionscript lib for HTML available. But I'd happily start a project for HTML but not for a new format without underlining code and thorough doc.
    - HTTP communication: what's the mime type of TLF or FXG?
    - Every developer knows HTML, TLF/FXG must be learned. I regard this learning as a high barrier as TLF does not seem to be a big step forward compared to HTML.
    Note that I don't prefer HTML because it is an "open standard". It's because the whole world knows HTML and that brings a much higher engineering efficiency (and that's maybe due to the open standard). If not all information of TLF can be export HTML, it's a pity but just document it.
    Looking forward to your thoughts/comments,
    Marc
    abhishek.g wrote: Hi Marc,
    Thanks for your reply.
    TLF supports many different markup formats (TLF, FXG, Plain text, HTML) with varying degrees of fidelity. It would simply not do to compare HTML because there isn't a 1:1 correspondence between TLF and HTML capabilities. From that perspective, TLF format would be your best bet though I realize there is the problem of inconsistent attribute order.
    Perhaps your scenario is better addressed by having utilities to compare TextFlow instances rather than comparing corresponding markup (this needs additional thought).
    As for HTML import/export, it is obviously be beyond TLF's scope to implement the full HTML standard. The current implementation is loosely based on the HTML capabilities of flash.text.TextField (see htmlText property), which itself is a small subset of the standard, and deviates from it in some ways. When you say HTML support is not ready for prime time, are you referring to this limited scope, or have you encountered specific bugs in the implementation? If the former, I'd like to know what your expectations are. If the latter, please report them.
    Thanks
    Abhishek
    (Adobe Systems Inc.)
    This message was sent to: faindu
    To post a reply to the thread message, either reply to this email or visit the message page:
    http://forums.adobe.com/message/2059470#2059470
    --end--
    mail transfer stalled...

  • Can I include both CSS and HTML codes in one Open HTML Editor.

    Somehow Cell phones are not properly reading css codes. Is there any way to include both CSS and HTML codes in one Open HTML Editor?

    Hammad, their code is fairly mobile friendly.  Per my other discussion with you ( http://topliners.eloqua.com/thread/8532 ), Eloqua's code is responsive for the most part.  Most of their issues lie with the styling of the email where you will get different fonts and different sized fonts throughout the email and some other minor display issues.
    What you are trying to accomplish is extremely difficult to do because you do not have the access to the HTML to better control how the responsive template works which is why the Eloqua templates (and most ESP templates) stick to the more basic side of emails.
    If you want to use Eloqua's WYSIWYG to make their responsive email you can do so, but I would recommend deleting all their body text before editing anything because of the inconsistencies in their code.  Otherwise, I think you would be better off coding the emails outside of Eloqua using a 3rd party editor whether it's something more robust like Dreamweaver or Coda, or whether you feel comfortable working in a more text environment with programs like Notepad++ or Brackets.
    At the end of the day remember you are paying Eloqua for these and if you choose to stick with the WYSIWYG and you are not getting the results you expect you need to tell Eloqua through your support channels.

  • [BUG] Exporting to xls and xlsx produces empty file

    When I'm viewing a table with data, and in Actions choose "Export...", turn off "Export DDL", choose "xls" for format, everything else is on default, and either leave empty or enter same name for both Query and Data worksheet names, and specify filter query - export produces empty xls/xlsx file. Only when one explicitly enters different worksheet names does valid non-empty excel workbook get generated with two differently named worksheets.
    Either validation should be added for worksheet names, or generating them automatically on export should be supported.
    I'm using Oracle SQL Developer 3.1.07.
    Kind regards,
    Stevo.

    Hi Stevo,
    Really appreciate you reporting this. There was an earlier, somewhat similar thread on this issue that we blamed on export file size:
    Sql Developer 3.1 - Exporting a result set in xls generates and empty file
    But you have discovered an important variation that explains it for small export file sizes also. Here is what I verified on 3.1.07.42:
    1. Normally if the worksheet names are left untouched (empty), then the names default to Export Worksheet and SQL
    2. If the name settings in Tools|Preferences|Database|Utilities|Export|Excel Format are null (empty), there is no problem
    3. If the name settings are intentionally changed to a single blank character, then the problem you describe occurs.
    So, you may wish to go to the preference settings and intentionally Backspace over each to null it out, then click OK.
    In the case of intentionally setting both worksheet names, data and query, to the same non-null value, that is also a problem.
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Apr 17, 2012 11:55 AM
    Logged a bug for this:
    Bug 13971991 - FORUM: EXCEL FILE EMPTY IF DATA AND QUERY WORKSHEETS ARE THE SAME AND NON-NULL
    Edited by: Gary Graham on May 25, 2012 2:00 PM
    Notification received: fixed for 3.2

  • Using Powershell Script Run simple query in MS Access 2007 and export the results of query to Excel

    Hi Experts,
    I have a Access 2007 DB file and 2 Big tables inside that (bigger than the size that can be easily handled by MS Excel 2007).
    My requirement is automate using powershell scripts the below things.
    1. Create a SQL query in Access DB and save that in access DB
    2. Run the saved query and export the result in excel sheet where I can create the charts and Pivots. Thanks in advance
    Prajesh

    Do you have to use the Access query, couldn't you just recreate the query in Powershell?  Here's a link with good info that references an existing script for querying an Access database:
    http://blogs.technet.com/b/heyscriptingguy/archive/2009/08/13/hey-scripting-guy-can-i-query-a-microsoft-access-database-with-a-windows-powershell-script.aspx
    Once you have your dataset you can pipe it to
    Export-Csv -NoType c:\pathtofile\output.csv

  • Why jpeg file exported from Aperture with 300 dpi's it opens with 72 dpi's on PS ( image size)? I've tried several combinations and all give different results. And I am confused on what is the best workflow for me.

    Ok.
    My workflow is
    RAW > Aperture Library > export jpeg high resolution 300 dpi's > one file on PS > edit > Save us jpeg. The I realised that files from PS were being save in a smaller size from the ones exported form Aperture. That is when I went o see <image size> on PS and files were with 72.
    Since ten I've trying different things
    1. Aperture > export as PSD > open on PS > edit > Save us jpeg = small file (around 15 MB)
    2. Aperture > export as jpeg high resolution 300 dpi's > open on PS > CHANGE dpi's to 300 on <image size> edit > Save us jpeg = big file (Huge, actually)
    What am I doing wrong? Would someone give me guidance and tell me what is the best workflow, considering I edit photos to deliver to my clients and I shall give them 300 dpi's.
    Thank you

    This is a known Aperture issue: Problem with Aperture 3.6 preset exports. | Apple Support Communities
    Benjamin

  • Scheduling a webi report and export the result in PDF on local disk

    I'm working with the new SDK to schedule a report and export its result on my local c:\ hard disk drive. My code give no errors at run but I do not find the file on my root.
    The Instance counter of the report increase each time, so there is a refresh.
    Is something wrong in the following lines? I just follow the examples give in the documentation for scheduling.
    Thanks in advance !
    Here is my code :
                   Destinations oDestinations = Destinations.Factory.newInstance();
                   Destination[] oDestination = new Destination[1];
                   oDestination[0] = Destination.Factory.newInstance();
                   oDestination[0].setName("CrystalEnterprise.DiskUnmanaged");
                   DiskUnmanagedScheduleOptions diskOptions = DiskUnmanagedScheduleOptions.Factory.newInstance();
                   String[] destinationFile = new String[1];
                   destinationFile[0] = "c:\\" + report_name + ".pdf";
                   DestinationFiles destinationFiles = DestinationFiles.Factory.newInstance();
                   destinationFiles.setDestinationFileArray(destinationFile);
                   diskOptions.setDestinationFiles(destinationFiles);
                   oDestination[0].setDestinationScheduleOptions(diskOptions);
                   oDestinations.setDestinationArray(oDestination);
                   System.out.println("Getting report...");
                   ResponseHolder respons = this.platform.get("path://InfoObjects/<path to report>/" + report_name, null);
                   InfoObjects reports = respons.getInfoObjects();
                   if (reports == null)
                        return;
                   Webi myReport = (Webi)reports.getInfoObjectArray()[0];
                   System.out.println("Getting scheduling info...");
                   SchedulingInfo schedulingInfo = myReport.getSchedulingInfo();
                   boolean newSchedulingInfo = false;
                   if (schedulingInfo == null)
                        schedulingInfo = SchedulingInfo.Factory.newInstance();
                        newSchedulingInfo = true;
                   System.out.println("Setting scheduling info...");
                   schedulingInfo.setRightNow(Boolean.TRUE);
                   schedulingInfo.setScheduleType(ScheduleTypeEnum.ONCE);
                   schedulingInfo.setDestinations(oDestinations);
                   WebiProcessingInfo webiProcessingInfo = myReport.getWebiProcessingInfo();
                   if(webiProcessingInfo == null) {
                        webiProcessingInfo = WebiProcessingInfo.Factory.newInstance();
                   WebiFormatOptions webiReportFormatOptions = webiProcessingInfo.getWebiFormatOptions();
                   if(webiReportFormatOptions == null)
                        webiReportFormatOptions = WebiFormatOptions.Factory.newInstance();
                   System.out.println("Setting Format...");
                   webiReportFormatOptions.setFormat(WebiFormatEnum.PDF);
                   webiProcessingInfo.setWebiFormatOptions(webiReportFormatOptions);
                   myReport.setWebiProcessingInfo(webiProcessingInfo);
                   if (newSchedulingInfo)
                        myReport.setSchedulingInfo(schedulingInfo);
                   System.out.println("Schedule...");
                   this.platform.schedule(reports);
                   System.out.println("Schedule done...");

    Hi Jerome,
    I have gon ethrough your code again and there we are missing the destination plugin.
    We have to query the info store to get the disk unmanaged plugin.
    Below is the code
    IDestinationPlugin destPlugin = null; //Destination plugin returned by InfoStore Query
            IDiskUnmanagedOptions diskUnmanagedOptions = null; //Object returned by the getSchedulingOptions() method
            List listDestination = null; //List object to hold destination file location
            IDestination destination = null; //Destination Interface
            //retrieve the Scheduling Options and cast it as IDiskUnmanagedOptions
            //This interface is the one which allows us to add the file location
            //for the scheduling
              for(int i = 0; i< oInfoObjects.getResultSize();i++)
               oInfoObject = (IInfoObject) oInfoObjects.get(i);
               destPlugin = (IDestinationPlugin)iStore.query( "SELECT * from CI_SYSTEMOBJECTS WHERE SI_PARENTID=29 and SI_NAME='CrystalEnterprise.DiskUnmanaged'").get(0);
              diskUnmanagedOptions = (IDiskUnmanagedOptions) destPlugin.getScheduleOptions();
            listDestination = diskUnmanagedOptions.getDestinationFiles();
              String dest = "c:\\";
            listDestination.add (dest + oInfoObject.getTitle()+".pdf");
              schedInfo = oInfoObject.getSchedulingInfo();
            schedInfo.setRightNow(true);
            schedInfo.setType(CeScheduleType.ONCE);
            //retrieve the IDestination interface from the SchedulingInfo object
            //use the setFromPlugin() to apply the changes we made to the
            //IDestinationPlugin object returned from the IStore
            destination = schedInfo.getDestination();
            destination.setFromPlugin(destPlugin);
              iStore.schedule(oInfoObjects);
    Regards,
    Prithvi

Maybe you are looking for

  • 2960-X vs 2960 QOS

    I am configuring QOS for some 2960-X's for a new deployment that also has some 2960's. The current 2960's already have auto qos configured. When I configured auto qos voip trust for the 2960-X, I noticed there were not any ingress queues and the all

  • Google search results shows no thumbnail images in Firefox as compared to IE or Chrome.

    When doing a google search, I see no thumbnail images for things like youtube video's or an image that would typically come from authority site. Is there a setting in FireFox that is inhibiting this? Compared to IE or Chrome which does shows a little

  • How to Go to Desktop from Front Row at Once

    In Front Row, I should click Esc several times to go to Desktop. It's sort of annoying. Is there one-click way to go to Desktop while watching DVDs in Front Row?

  • Computer won't recognize Airport Extreme Card

    Okay, I need a little help. I bought an Airport Extreme card for my eMac today, which is what my manual told me I'd need to connect to a wireless Internet connection. I followed the instructions to install it exactly, but the computer won't recognize

  • A good quality email-able file for imovie

    I used to work with WMV and they were sooo great because they weren't big files but when you emailed them for viewing they came up big. With i-movie, I can't figure out how to compress the files so they can be emailed but still be viewed bigger than