We want to read data from weigh bridge and display in oracle forms & store

Sir/Madam,
in our organisation we had one requirement. i.e is reading data from weigh bridge using serial port, displying that data in oracle forms and when ever user click save button we store that into my oracle database. we are using oracle 8i and forms 6i and windows OS environment. we don't know reading data from serial port and placing that into form items. please help me as early as possible if there is any property available in d2k regarding this requirement .
thank you,
vishnu

There's no property in Forms that makes you read serial ports, but as far as I know you need to know the API of the machine which you want to read data from (it should come with machine's manual) and then it will be easy to store it in forms item.
Tony

Similar Messages

  • Read data from text file and displaying on Webdynpro

    Hi all,
    I need some help. I have a text file with set of  name, phonenumbers . I want to know how to display the data using Webdynpro. Could some one help me. help is appreciated and I promise to award points for right answer.
    Thank you
    Maruti

    Hi Maruti,
    just open the file and loop on the rows, here an example::
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.IOException;
    FileReader f =  new FileReader("c:
    FileName.ext");
    while ((s = in.readLine()) != null)
    //Here you can put the line into a WD context structure, i.e:
    wdContext.currentContoEconomicoFormElement().setField(s);
    }catch (Exception e) {.....}
    in.close();
    f.close();
    For any others questions, please, let me know.
    Vito

  • How to read the data from XML file and insert into oracle DB

    Hi All,
    I have below require ment.
    I will receive data in the XML file. then i need to read that data and insert into oracle tables. please let me know how this can be handled.
    Many Thanks.

    Sounds a lot like this question, only with less details.
    how to read data from XML  variable and insert into table variable
    We can only help if you provide us details to help as we cannot see what you are doing and only know what you tell us.  Plenty of examples abound on the forums that cover the topics you seek as well.

  • Reading data From XML file and setting into ViewObject to Pouplate ADF UI

    Hi,
    I have following requirement.
    I would like to read data from XML file and populate the data in ViewObject so that the data can be displayed in the ADF UI.
    Also when user modifies the data in the ADF UI, it should be modified back into to ViewObject.
    Here is an example - XML file contains Book Title and Author. I would like to read Book Title and Author from XML file and set it into ViewObject Attribute and then display Book title and Author in ADF UI page. Also when user modifies Book title and Author, I would like to store it back in View Object.
    Please help me with this requirement and let me know if any solution exist in ADF, for populating the ADF UI screen fields with external XML file data.
    Thanks

    Read chapter 42 http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/bcadvvo.htm of the fusion developer guide
    Section 42.7, "Reading and Writing XML"
    Section 42.8, "Using Programmatic View Objects for Alternative Data Sources"
    Timo

  • Reading Data from Unix file and write into an Internal table

    Dear all,
                     I am having an requirement of reading data from unix file and write the same into an internal table..how to do that ...experts please help me in this regard.

    Hi,
    do like this
    PARAMETERS: p_unix LIKE rlgrap-filename OBLIGATORY.
    DATA: v_buffer(2047) TYPE c.
    DATA: BEGIN OF i_buffer OCCURS 0,
            line(2047) TYPE c,
    END OF i_buffer.
    * Open the unix file..
    OPEN DATASET p_unix FOR INPUT IN TEXT MODE.
    <b>IF sy-subrc NE 0.
    *** Error Message "Unable to open file.
    ELSE.</b>
       DO.
         CLEAR: v_buffer.
         READ DATASET p_unix INTO v_buffer.
         IF sy-subrc NE 0.
            EXIT.
         ENDIF.
         MOVE v_buffer TO i_buffer.
         APPEND i_buffer.
      ENDDO.
    ENDIF.
    CLOSE DATASET p_unix.
    <b>Reward points if it helps,</b>
    Satish

  • Search result to get data from bing search and display it in sharepoint page.

    I have configured result source which gets data from bing site,i have given following url as source url
    http://www.bing.com/search?q={?searchterms}&format=rss&Market=en-Us
    but it returns only 8 results from RSS. i want to get all results of search and display it in my SharePoint search results page. 
    any pointers will be helpful. 

    Hi,
    According to your post, my understanding is that you wanted to search result to get data from bing search and displayed it in sharepoint page.
    To display more items, you can modify the item number when you add
    New Query Rule.
    To get all results, I recommend to use the “Show More”
    link in the result page.
    You can enter the URL when you add New Query Rule:
    "More" link goes to the following URL: http://www.bing.com/search?q={searchterms}
    Here is a great blog for your reference:
    http://sharepoint-community.net/profiles/blogs/integrate-bing-with-sharepoint-online-2013-search
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Reading Weight from Weigh Bridge....

    Hi.
    The scenario here is that we have to create module pool for picking up
    the weights of trucks from weigh bridge ( AVERY brand ).
    The existing system is in foxpro . Please find attached the text of AVERY guidance which exhaustively shows how the fox system is reading the
    weight from the port, to which the weigh bridge is attached, on the
    system kept at the location.
    I wish to have the info regarding how, this functionality can be
    achieved in ABAP as my perception is that this is not a simple
    execution / run of an external program.
    regards,
    Suman
    TEXT
    getwt.prg
    sample weight recieving program for Avery CTH
    this is demo program for getting weight from the CTH
    using the CALL and LOAD commands of dBASE III PLUS only.
    This demo program demonstrates the use of LOAD and CALL commands
    of dBASE III PLUS to get the weight from the CTH. The actual
    program to get the weight is a file called GETCTH.BIN
    To use GETCTH.BIN directly do the following:
       1. Start dBASE III PLUS normally.
       2. Type the command - LOAD GETCTH at the dot prompt of dBASE III PLUS.
          (Be sure to give the correct drive and/or directory where the
           file GETCTH.BIN resides in your computer system).
       3. The program GETCTH.BIN will return the weight in a variable
          passed from dBASE III PLUS, so first initialize a variable in
          dBASE III PLUS to recieve the weight.
          The weight string returned by the CTH is 26 charecters long so
          define a variable of length 26 by typing the following command
          at the dot prompt:
          WEIGHT = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"   { Any dummy value }
                                or
          WEIGHT = "2BCDEFGHIJKLMNOPQRSTUVWXYZ"   for COM2 port
          ( Note -> The choice for the name of the above variable is
                    purely arbitrary. Any name could have been chosen)
       4. Next type the following command at the dot prompt to call the
          GETCTH function :
          CALL GETCTH WITH WEIGHT
       5. After some time the dot prompt will return. At the dot prompt
          type the following :
          ? WEIGHT
          If the GETCTH function has been successfull in getting the weight
          from the CTH then this function will return the weight as a string
          of 26 charecters containing the weight and other information.
          Otherwise, if the function is not successfull then the value of
          the variable passed will be set to 26 spaces. The major reason
          for the failure of the function will be a timeout error i.e.
          the CTH did not respond after a preset time interval had elasped.
          The returning of 26 spaces makes it easy for a dBASE III PLUS
          program to retry the weighing operation if failure is detected.
          The use of this in a loop till the function succeeds in getting
          a weight is illustrated below in the program.
          The weight returned by the CTH consists of a string of 26 charecters
          A sample weight that could be returned is reproduced below:
          ABCDEFGHIJKLMNOPQRSTUVWXYZ
            19600 kg    G 000016 O
          The following is the sequence of charecters :
          1. The first two charecters ( positions A - B above ) are
             space charecters.
          2. The next five charecters ( positions C - G above ) is the
             weight from the CTH - ( 19600 in this case).
          3. The next charecter ( position H above ) is a space charecter.
          4. The next two charecters ( positions I - J above ) are the weight
             units - ( kg in this case ).
          5. The next four charecters ( positions K - N above ) are space
             space charecters.
          6. The next charecter ( position O above ) specifies mode of
             operation. It shows 'G' for Gross mode and 'T' for Tare
             mode of operation.
          7. The next charecter ( position P above ) is a space charecter.
          8. The next six charecters ( positions Q - V above ) is the
             consecutive number which is unique for each weighing.
          9. The next charecter ( position W above ) is a space charecter.
         10. The next charecter ( position X above ) is the machine ID number.
         11. The last two charecters ( positions Y - Z above ) are
             Carriage return and Line feed charecters.
    Clear the screen and show the copyright notice.
    clear
    @  0,  0  TO 23, 79    DOUBLE
    @  3,  1  TO  3, 78
    @ 11, 25  TO 18, 57
    set color to w/n+
    @  1, 26  SAY "A V E R Y     I N D I A   L I M I T E D"
    set color to
    set color to n/w+
    @  2, 10  SAY " Demo program for getting weight from Avery weight digitiser - CTH "
    set color to
    set color to w/n+
    @  6,  3  SAY "(C) Avery India Ltd.- 1989,1990  All rights reserved."
    @  8, 10  SAY "The source code of this program is for pure demo purposes and all"
    @  9, 10  SAY "copyright  of   this    demo  program  and  its source rests with"
    @ 10, 10  SAY "Avery India Ltd."
    @ 20, 10  SAY "This program and its  accompaining  source  code cannot  be  used"
    @ 21, 10  SAY "without the prior permission of Avery India Ltd."
    set color to
    set color to n/w+
    @ 17,26 say " Press any key to continue...  "
    set color to
    wait ""
    @ 4,0 clear to 23,79
    @ 0,0 to 19,79 double
    WEIGHT = space(26)                && define a variable to get the weight
    load getcth                       && load the module from disk
                                      && this assumes that the file GETCTH.BIN
                                      && is in the current drive/directory.
                                      && If not, use drive specifier.
    do while weight = space(26)       && the main loop
       call getcth with weight
    enddo
    set color to w/n+
    As explained above the last two charecters of the weight string
    are the Carriage return (CR) and the Line feed (LF) charecters
    out of the total of 26 charecters of the weight string. So to get
    the whole weight string other than these last two chareceters we
    can use the SUBSTR command of dBASE III PLUS as follows :-
      @ 14,20 say "The weight is : " + substr(weight,1,24)
    This will show the whole weight string on the screen i.e. all
    24 charecters ( it will not show the CR and the LF charecters ).
    The CR and the LF charecters are as it is unprintable charecters
    and will show up as control charecters if printed on the screen.
    If the whole weight string is not required and only, say, the
    weight and the weight units are required, then the following command
    could be used :-
    @ 14,20 say "The weight is : " + substr(weight,1,10)
    This will show the weight value and the weight units (this substring
    will include the embedded space charecters in this susbtring).
    Similarly, other parameters from the weight string could be
    incorporated, if required, from the whole string to enhance
    the weighing process on the computer.
    The idea of putting the CALL statement above in a loop is that
    sometimes due to unavoidable reasons, there may some garbage
    charecters on the serial port. Thus it may be necessary to flush these
    charecters from the port by CALLing the function again.
    Sometimes, the function may return without a timeout error but the
    variable may contain some control charecters which do not make sense.
    In this case the function should called repeatedly till the proper
    charecters are returned. This occurs due to the reason explained
    above.
    @ 14,20 say "The weight is : " + substr(weight,1,24)
    set color to
    set color to n/w+
    @ 16,5 say "Please read the README.DOC file on this disk for more information"
    release module getcth             && release module from memory
    set color to
    Please refer to the dBASE III PLUS manuals for a
    complete discussion on the LOAD, CALL and RELEASE
    commands.
    Message was edited by: Suman Tyagi

    Thanks, but I've already seen this thread and done the steps described on it.
    Actually, my question is very specific... How to populate the fields LinkVal and LinkUnit of the registry...
    I read all the threads here in SDN and they don't answer my question...
    I'd be glad if someone had already done tcode HUPAST works for Filizola...
    Tks again.

  • Read data from E$ table and insert into staging table

    Hi all,
    I am a new to ODI. I want your help in understanding how to read data from an "E$" table and insert into a staging table.
    Scenario:
    Two columns in a flat file, employee id and employee name, needs to be loaded into a datastore EMP+. A check constraint is added to allow data with employee names in upper case only to be loaded into the datastore. Check control is set to flow and static. Right click on the datastore, select control and then check. The rows that have violated the check constraint are kept in E$_EMP+ table.
    Problem:
    Issue is that I want to read the data from the E$_EMP+ table and transform the employee name into uppercase and move the corrected data from E$_EMP+ into EMP+. Please advise me on how to automatically handle "soft" exceptions in ODI.
    Thank you

    Hi Himanshu,
    I have tried the approach you suggested already. That works. However, the scenario I described was very basic. Based on the error logged into the E$_EMP table, I will have to design the interface to apply more business logic before the data is actually merged into the target table.
    Before the business logic is applied, I need to read each row from the E$EMP table first and I do not know how to read from E$EMP table.

  • Read data from Excel file and diaplay in Webdynpro

    Hi all,
    I need some help. I have a Excel file with set of  name, phonenumbers . I want to know how to display the data using Webdynpro. Could some one help me. help is appreciated and I promise to award points for right answer.
    Thank you
    Maruti

    <b>Hi
    i can explain you to read data from Excel file
    First You have to download the jxl.jar file. You can get this file from the Below site
    </b><a href="http://www.andykhan.com/jexcelapi/download.html">jexcelapi jar</a>
    It will be in Compressed Fromat So Unzip it to get the Contents
    After Unzipping The File You will get a Folder (jexcelapi/jxl.jar)
    Now in NWDS open web dynpro explorer, Right Click Your Project, a popup menu will appear and in that click Properties
    You will get window displaying your Project Properties
    On Left Side of the window You Will Find "Java Build Path"
    Click That "Java Build Path" and you will get 4 Tabs Showing ( Source,Projects,Libraries,Order and Export)
    Click Libraries Tab
    You will find options many options buttons
    In that click the Button "Add External Jars"
    You will get Window in order to fecth the jxl.jar file from the location you had stored
    After selecting the jxl.jar i will get displayed and click ok
    Now Open Navigator
    Open Your Project
    You will find Lib folder
    Copy the jxl.jar to that lib folder
    Note : You cannot Read the Content from the excel file directly
    First You Have to copy that file to the Server,
    And from the Server you can get the file absolute path
    With the absolute path you can read the contents of the Excel file
    You have to save the Excel file as .xls Format and Not as xlsx format i will not accept that...
    You have Upload the Excel file from the Server Using the File Upload UI Element
    This Coding will extract 3 columns from the Xls File
    Coding
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import jxl.Cell;
    import jxl.Sheet;
    import jxl.Workbook;
    import com.sap.fileupload.wdp.IPrivateFileUpload_View;
    import com.sap.tc.webdynpro.services.sal.datatransport.api.IWDResource;
    public void onActionUpload_File(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpload_File(ServerEvent)
        IPrivateFileUpload_View.IContextElement element1 = wdContext.currentContextElement();
        IWDResource resource = element1.getFileResource();
        element1.setFileName(resource.getResourceName());
        element1.setFileExtension(resource.getResourceType().getFileExtension());
        //@@end
    public void onActionUpload_File_in_Server(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpload_File_in_Server(ServerEvent)
        InputStream text=null;
        int temp=0;
        try
             File file = new File(wdContext.currentContextElement().getFileResource().getResourceName().toString());
             FileOutputStream op = new FileOutputStream(file);
             if(wdContext.currentContextElement().getFileResource()!=null)
                  text=wdContext.currentContextElement().getFileResource().read(false);
                  while((temp=text.read())!=-1)
                       op.write(temp);                                      
             op.flush();
             op.close();
             path = file.getAbsolutePath();
             wdComponentAPI.getMessageManager().reportSuccess(path);
        catch(Exception e)
             e.printStackTrace();
        //@@end
    public void onActionUpload_Data_into_Table(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpload_Data_into_Table(ServerEvent)
        try
              Workbook wb =Workbook.getWorkbook(new File(path));
              Sheet sh = wb.getSheet(0);
              //wdComponentAPI.getMessageManager().reportSuccess("Columns = "+sh.getColumns());
              //wdComponentAPI.getMessageManager().reportSuccess("Rows = "+sh.getRows());
              int columns = sh.getColumns();
              int rows = sh.getRows();
              int i=0;
             for(int j=1;j<=rows;j++)
                       ele=wdContext.nodeTable_Data().createTable_DataElement();
                       Cell c1 = sh.getCell(i,j);
                      ele.setTab_Name(c1.getContents());
                       Cell c2 = sh.getCell(i+1,j);
                       ele.setTab_Degree(c2.getContents());
                          Cell c3 = sh.getCell(i+2,j);
                       ele.setTab_Percentage(c3.getContents());
                       wdContext.nodeTable_Data().addElement(ele);
        catch(Exception ex)
             wdComponentAPI.getMessageManager().reportSuccess(ex.toString());
        //@@end
       * The following code section can be used for any Java code that is
       * not to be visible to other controllers/views or that contains constructs
       * currently not supported directly by Web Dynpro (such as inner classes or
       * member variables etc.). </p>
       * Note: The content of this section is in no way managed/controlled
       * by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      String path;
      IPrivateFileUpload_View.ITable_DataElement ele;
    //@@end
    Regards
    Chandran S

  • Help! Read raw Image data from a file and display on the JPanel or JFrame.

    PLEASE HELP, I want to Read Binary(Raw Image)data (16 bit integer) from a file and display on the JPanel or JFrame.

    Hey,
    I need to do the same thing. Did you find a way to do that?
    Could you sent me the code?
    It's urgent, please.
    My e-mail is [email protected]

  • How to read data from analog input and export it to a file using Components Works

    I've made a simple application (Delphi 5 using the activeX) that read data from analog input channel 0. After I read the data, I want to export it to a file using the Components Works on a 6035E NIDAQ. (I'm not using labview and don't want to use it)
    How can I do that???
    Regards,
    Francis

    Here's a sample code to do this...
    P.S.: If you read only one channel this code won't work.
    function MyFunction: Integer;
    var
    Low, High, i, j, ChannelCount, RowCount: Integer;
    Po: P;
    begin
    //you are reading multiple channel
    ChannelCount := VarArrayHighBound(Buffer, 1);
    RowCount := VarArrayHighBound(Buffer, 2);
    for i := 0 to ChannelCount do begin
    for j := 0 to RowCount do begin
    WriteToDisk(Buffer[i, j]));
    end;
    end;
    end;

  • Read data from excel sheet and then perform the required operations.

    Hi all
    I need to write a procedure which can read data from excel sheet.I have excel sheet in which i have to options one is modification and other is addition.so if it reads modification then i need to read the concerned table name then check its availability in pl-sql datbase.If table exists then reading the realated column in that row to fire the querry. The excel sheet is saved in local disk c.
    can anybody help me with this.How i need to start specialy to read the data from excel sheet saved in local disk c.
    Edited by: user13334062 on Jun 30, 2010 3:45 AM

    Hi
    If you can convert the excel to a csv format, then it can be simply query from DB Creating Oracle External Tables. Best part is that you may still change the CSV using EXCEL.
    Following action Points can be adopt;
    *1. Convert Excel File to a csv. File Save as CSV*
    *2. Create Oracle Directory* ( This has to be the location of your excel file )
    SQL> Create directory mydir as 'C:\testdb'; --- "testdb" is the location folder in win for your excel sheet.
    *3. Create the External Table*
    SQL> create table my_ext_tab (
    Field1 Datatype,
    Field2 Datatype,
    Field3 Datatype,
    Field4 Datatype,
    Field5 Datatype
    Organization external
    (type oracle_loader default directory mydir
    access parameters (records delimited by newline fields terminated by ',')
    location ('my_ext_tab.csv'))
    reject limit 100;
    *4. Now you can query the table "my_ext_tab"*
    Select * from "my_ext_tab";
    Please avoid the reformat the data column inside the spreadsheet (CSV).

  • Read data from xml files and  populate internal table

    Hi.
    How to read data from xml files into internal tables?
    Can u tell me the classes and methods to read xml data..
    Can u  explain it with a sample program...

    <pre>DATA itab_accontextdir TYPE TABLE OF ACCONTEXTDIR.
    DATA struct_accontextdir LIKE LINE OF itab_accontextdir.
    DATA l_o_error TYPE REF TO cx_root.
    DATA: filename type string ,
                 xmldata type xstring .
    DATA: mr      TYPE REF TO if_mr_api.
    mr = cl_mime_repository_api=>get_api( ).
    mr->get( EXPORTING  i_url     = 'SAP/PUBLIC/BC/xml_files_accontext/xml_accontextdir.xml'
                  IMPORTING  e_content = xmldata ).
    WRITE xmldata.
    TRY.
    CALL TRANSFORMATION id
          SOURCE XML xmldata
          RESULT shiva = itab_accontextdir.
      CATCH cx_root INTO l_o_error.
    ENDTRY.
    LOOP AT itab_accontextdir INTO struct_accontextdir.
        WRITE: / struct_accontextdir-context_id,
               struct_accontextdir-context_name,
               struct_accontextdir-context_type.
        NEW-LINE.
        ENDLOOP.</pre>
    <br/>
    Description:   
    In the above code snippet I am storing the data in an xml file(you know xml is used to store and transport data ) called 'xml_accontextdir.xml' that is uploaded into the MIME repository at path 'SAP/PUBLIC/BC/xml_files_accontext/xml_accontextdir.xml'.
    The below API is used to read a file in MIME repo and convert it into a string that is stored in ' xmldata'. (This is just a raw data that is got by appending the each line of  xml file).
    mr = cl_mime_repository_api=>get_api( ).
    mr->get( EXPORTING  i_url     = 'SAP/PUBLIC/BC/xml_files_accontext/xml_accontextdir.xml'
                  IMPORTING  e_content = xmldata ).
        Once the 'xmldata' string is available we use the tranformation to parse the xml string that we have got from the above API and convert it into the internal table.
    <pre>TRY.
    CALL TRANSFORMATION id
          SOURCE XML xmldata
          RESULT shiva = itab_accontextdir.
      CATCH cx_root INTO l_o_error.
    ENDTRY.</pre>
    Here the trasnsformation 'id ' is used to conververt the source xml 'xmldata' to resulting internal table itab_accontextdir, that have same structure as our xml file 'xml_accontextdir.xml'.  In the RESULT root of the xml file has to be specified. (In my the root is 'shiva'). 
    Things to be taken care:
    One of the major problem that occurs when reading the xml file is 'format not compatible with the internal table' that you are reading into internal table.  Iin order to get rid of this issue use one more tranformation to convert the data from the internal table into the xml file.    
    <pre>TRY.
          CALL TRANSFORMATION id
            SOURCE shiv = t_internal_tab
            RESULT XML xml.
        CATCH cx_root INTO l_o_error.
      ENDTRY.
      WRITE xml.
      NEW-LINE.</pre>
    <br/>
    This is the same transformation that we used above but the differnce is that the SOURCE and RESULT parameters are changed the source is now the internal table and result is *xml *string. Use xml browser that is available with the ABAP workbench to read the xml string displayed with proper indentation. In this way we get the format of xml file to be used that is compatable with the given internal table. 
    Thank you, Hope this will help you!!!
    Edited by: Shiva Prasad L on Jun 15, 2009 7:30 AM
    Edited by: Shiva Prasad L on Jun 15, 2009 11:56 AM
    Edited by: Shiva Prasad L on Jun 15, 2009 12:06 PM

  • Fetching data from a table and displaying it on the text box

    Hi,
    I have created a dialog program in which created a container(text box)  to enter data upto 1000 characters.
    Iam capturing the data and storing it in a custom table. In PBO I want to fetch data from my custom table (if data is already present :1000 characters data) and display it on screen.
    Please let me know how do i do it?

    hii Pavani,
    declare this two sttements in Screen
    MODULE STATUS_DATA.
    MODULE SELECT_DATA.
    In PBO, Under SELECT_DATA write Select query like:
    (considering the DB field to be text and Screen Field to be SC_TEXT)
    select text from <DB Table> into SC_TEXT where <condition>.
    *note if u r selecting more than one field than write fields in (   ),eg. (f1....f2) )
    Plz let me know for  any further queries.
    Regards,
    Apoorv

  • Pull data from SQL Table and display it in mail

    I have a requirement to pull the data from SQL table and send it in email.  Currently I am sending the hard coded info in email but is it possible to pull some data from SQL Table and than format it and send it across in the same email? 
    Can you guide me with steps on this.
    Neil

    There are several ways to do this.  First is to populate a file in a data flow and then send that as an attachment in the send mail task. 
    As far as including the results in the email body this becomes a bit trickier.  To use a variable you would need to use an SSIS variable type of
    Object, this is similar to a collection in .NET.  The problem once the object is populated is that it isn't like a readable result set, but again more like an array or a collection.  There is no native method to take the object variable and
    specify .ToString() or cast its results as text.  You would need to iterate through each row and append it to another variable of type string, this could be done with a script task or ForEach container.
    Also you mentioned formatting the results.  What type of formatting were you looking for.  A limitation of the SMTP send mail task is that the message body doesn't support HTML so if you were looking at creating a table within the mail body you
    would have to use a script task or a custom component
    David Dye My Blog

Maybe you are looking for

  • Billing document issue

    Hi I have 3 sales orders in three sales orders having 3 different quantities.  When am doing delivery in vl10c background processing,  one for all diffrent sales orders 1,2,3, its giving one delivery document number.  Up to it is ok.  When am creatin

  • How to authorize more than one computer

    Hello, Just donwloaded an ebook for an exam and succesfully loaded in my computer. Now the problem is that I can't visualize it on my laptop because I can't authorize the computer with the same Adobe ID. How do I do that? What do I have to do to be a

  • Will recovery disks work on new hard drive

    I just installed new hard drive on hp laptop with Windows 7 64 bit. I used the iso file installation disc. Now I would like to use the recovery disks I made 2.5 years ago to load the original software and drivers as when the pc was new. When I put Di

  • Photos from recent event not appearing in photo library

    I have recently uploaded photos from a recent trip. I have named the event and it is listed and accessible through 'events'. The event is also listed under the 'recent' menu. However, the photos are not appearing in my 'photos' library! I want to sor

  • Reports in cProjects

    Dear All, Please advise me what are the various reports available in cProjects & how to get the same. Can we get various project reports such as project structure / project accounting reports etc. Thank you in advance. Regards, Ranjan