Need help --Generating tree

Hi all,
I have a Vector of length 4 in which there are two elements which comes exactly in the order below:
A B
1) Name ---------------------------- John
2) Contact -------------------------Country
3) Name-----------------------------David
4) Contact---------------------------State
Now I have to create a tree with nodes containing text of column "A" which should be distinct and these two nodes contains elements of Column "B" respectively...
like,
- Name -----John
|_ _______David
- Contact----Country
|________State
Can any one tell me how to do it and show me sample code if possible
Thank You

I assumed name and contact were related. Two lists would make sense too (as long as you don't need to match name to a contact). Or (just to belabor the point), why not use a Map that contains Lists for values?
Map map = new HashMap();
map.put("Name", new ArrayList("John", "David"));
map.put("Contact", new ArrayList("Country", "State"));
Again, none of this really addresses the real question - but we're still missing enough information to provide any feedback.

Similar Messages

  • Need help, MMC tree got deleted, very urgent.

    Hi,
    My sap MMC tree, got deleted in the server. I have been trying to restore since 2 days and couldnt succeed, please help me.
    1) i have uncared the sapmmc.sar from   Kernal\NT\I386\MMC\sapmmc.sar file
    2) i got about 7 files, in which there is one sapmmc file i have tried to double click it, n check but no go.
    3) i also tried to run the Sapstartsrv.exe file and fill in up the values in pop up window. & filled up the following values :-
                        SID: DEV
                        NR: 00
                        StartProfile:  (entire start profile path given)
                        user: devadm
                        passwd; (given)
    - but it says "the account name is invalid or does not exist or the password is invalid for account name specified"/
    - no go in both the cases.
    Please need help very urgent.
    Regards,
    Satish.

    siva,
    I am getting same error since 2 days
    SID: DEV
    NR: 00
    Start Profile: (entire start profile path)
    User: <hostname>/devadm
    passwd: ****
    Error:
    cannot install service
    create service failed:421
    The account name is invalid or doesnot exist, or the passwd is invalid for the account name specified.
    Edited by: satish c on Jun 4, 2008 11:12 AM

  • Need Help: Generate Customer Data from Prod Database

    Hi All,
    My company have an Oracle Financial System, with and old version Oracle Application 11.0.3 and Oracle Database 8.0.5. The database name PROD. This system has been use for more than 7 years and in between there were many stuff resigned without handover and therefore many records and supporting steps cannot be trace back. However the system is still keep running and updated daily.
    Recently we have a user request to generate out a list of customer company name, and their related products purchase from the database, this is because they does not have any methods to print out the list from application. Unfortunately, we do not know which tables or index is actualy storing the name of the customer and products. We have the list of below users accounts that able to log in to the database.
    PA/PA
    APPLSYS/APPS
    APPS/APPS
    ALR/ALR
    AX/AX
    AK/AK
    GL/GLRG/RG
    FA/FAHR/HR
    SSP/SSP
    HXT/HXT
    OTA/OTA
    RLA/RLA
    VEH/VEH
    QA/QA
    ICX/ICX
    AZ/AZ
    AP/AP
    AR/AR
    OE/OE
    OSM/OSM
    NSM/NSM2020
    CN/CN
    MFG/MFG
    INV/INV
    PO/PO
    BOM/BOM
    ENG/ENG
    MRP/MRP
    CRP/CRP
    WIP/WIP
    CZ/CZ
    PJM/PJM
    FLM/FLM
    MSC/MSC
    CS/CS
    CE/CE
    EC/EC
    JG/JG
    APPS/APPS
    All the reference documents is no longer exist. I am able to use SQL Plus to generate the list of tables with the command : select table_name from user_tables. Each user accounts will return different kind of table names. But still I cant locate which table that actually storing the name of the customers and products.
    Is that anybody got hands on this case before? Urgent

    We have this table: And need to unload this table data in flat file format.
    Need help with unload SQL file with these two columns:
    AMT_PAID_ORIG, AMT_PAID_ADJ
    SQL> desc flconv.claim_adj_less
    Name Null? Type
    SAK_CLAIM_ADJ_LESS NUMBER(10)
    SAK_CLAIM_ADJ NUMBER(10)
    ADJ_CLAIM_ICN NUMBER(13)
    ORIGINAL_CLAIM_ICN NUMBER(13)
    DATE_PAID_ORIG NUMBER(8)
    DATE_PAID_ADJ NUMBER(8)
    AMT_PAID_ORIG NUMBER(10,2)
    AMT_PAID_ADJ NUMBER(10,2)
    SAK_PROV_LOC NUMBER(9)
    SAK_FUND_CODE NUMBER(9)
    CHECK_SAK NUMBER(9)
    SAK_PUB_HLTH NUMBER(9)

  • Need help regarding tree control

    hello guys,
    i m working on one Flex slideshow application and i m using Xml loaded tree control with swf loader for this. i want to create next previus button for nevigate this slideshow but i dont know much about action script... please help me
    i will provide u code of my script if you need to correct it or suggest me how to make it.
    thanks in advance
    sagar

    here is sourcecode of my file
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" showCloseButton="true" close="PopUpManager.removePopUp(this);" width="1366" height="768" title="Promotions" fontFamily="Verdana" fontSize="13">
        <mx:Script>
            <![CDATA[
                import mx.managers.PopUpManager;
                private function processLogin():void {
                    // Check credentials (not shown) then remove pop up.
                    PopUpManager.removePopUp(this);
             import mx.effects.easing.*;
                     //index button script
             private function toggleBtn(e:MouseEvent):void{
                if(e.currentTarget.label== 'Open')
                    panelOut.play();
                else
                   panelIn.play();
                    import mx.collections.ICollectionView;
                    import mx.events.ListEvent;
                    // tree control script
                private function tree_itemClick(evt:ListEvent):void {
                    var t:Tree = evt.currentTarget as Tree;
                    var dataObj:Object = evt.itemRenderer.data;
                    var item:Object = Tree(evt.currentTarget).selectedItem;
                    if (dataObj.hasOwnProperty("@src")) {
                        swfLoader.source = dataObj.@src;
                    } else if (t.dataDescriptor.isBranch(t.selectedItem)) {
                        swfLoader.source = null;
                        tree.expandItem(item, !tree.isItemOpen(item), true);
                        panel1.status = "";
                private function tree_labelFunc(item:Object):String {
                    var children:ICollectionView;
                    var suffix:String = "";
                    if (tree.dataDescriptor.isBranch(item)) {
                        children = tree.dataDescriptor.getChildren(item);
                        suffix = " (" + item.children().length() + ")";
                    return item.@label + suffix;
                private function swfLoader_complete(evt:Event):void {
                    panel1.status = (swfLoader.bytesTotal/1024).toFixed(2) + 'KB';
                private function init():void
                        systemManager.stage.displayState=flash.display.StageDisplayState.FULL_SCREEN;
            ]]>
            </mx:Script>
            <mx:XML id="dp" source="data/dp.xml" />
       <mx:Canvas x="30" y="-1" width="1315" height="725">
       <mx:Panel id="panel1"
                    width="1310"
                    height="712"
                    backgroundColor="white"
                    borderThickness="0"
                    borderThicknessBottom="0"
                    borderThicknessLeft="0"
                    borderThicknessRight="0"
                    borderStyle="none" cornerRadius="0"
                    headerHeight="0" left="2" y="3">
                <mx:SWFLoader id="swfLoader"
                        scaleContent="true"
                        complete="swfLoader_complete(event);" />
                <mx:ControlBar>
                </mx:ControlBar>
            </mx:Panel>
       </mx:Canvas>
    <mx:Move id="panelOut" target="{panel}" xTo="0" effectEnd="btn.label='Close'"
          duration="500"/>
       <mx:Move id="panelIn" target="{panel}" xTo="-283" effectEnd="btn.label='Open'"
          duration="500"/>      
       <mx:Canvas id="panel" width="314" height="725" x="-283" backgroundColor="#00A2FF" verticalCenter="-1">
          <mx:Grid x="10" y="10" width="299">
             <mx:GridRow width="100%" height="707">
                <mx:GridItem width="100%" height="100%">
                <mx:Tree id="tree"
                        dataProvider="{dp}"
                        labelFunction="tree_labelFunc"
                        showRoot="false"
                        width="269"
                        height="706"
                        itemClick="tree_itemClick(event);"  alpha="0.85" backgroundColor="#C0E1FF"/>
                </mx:GridItem>
                <mx:GridItem width="22" height="100%" verticalAlign="middle">
                   <mx:LinkButton label="" id="btn" width="22"  height="707"
                            click="toggleBtn(event)" icon="@Embed(source='assets/index.png')" enabled="true"/>
                   </mx:GridItem>
             </mx:GridRow>
          </mx:Grid>
           <!--Add the content of your sliding panel here  -->
            </mx:Canvas>
    </mx:TitleWindow>

  • Need help with tree edit distance and restricted top-down mapping algorithm

    *This topic was posted a while ago in "java programming" section but was suggested to try here
    Hi everyone,
    A couple of days ago I posted a topic on analyzing structure similarity between two web pages. After some researching, I know I need to work out some tree matching algorithms: tree edit distance algorithm(TED) and a improved version: restricted top-down mapping algorithm(RTDM). TED is about calculating the minimum operation cost(insert, delete, replace) to map one tree into another. RTDM further restricts the 3 operations to only the leaf nodes so as to improve time complexity.
    This is the general idea but I'm having difficulties to find resources to let me understand and implement the algorithms. I'm using ACM portal (Association for Computing Machinery) to access the technical papers but I find that they do not provide enough info, google gives mostly the same technical papers and some websites which illustrate the general idea of these algorithms.
    Hoping that you can give me some guidance on these 2 algorithms. Not looking for codes but I need more details on them. Thanks in advance.

    For scientific research I prefer Scirus: http://www.scirus.com/
    Just two pages I found on a quick search:
    http://arxiv.org/abs/cs/0604037
    http://www.cs.uic.edu/~yzhai/
    The latter might not be exactly what you asked for, but you might be interested in the listed publications. I have not taken a closer look.

  • Need help generating an rss feed via jsp

    this is ridiculous, but i cannot get my jsp to generate rss feed code. i am querying my database for stories, then displaying the various fields within the rss xml codes. the page either refuses to load altogether or displays the content as one run-on sentence (i.e., without the xml codes). i'd prefer most of all to have a nice xml-look-and-feel display to show up in my browser, but i can live without it as long as someone hitting the url of my page can get the rss feed to parse. however, the page generally just refuses to load anything.
    if anyone has any input or suggestions, i'd greatly appreciate it. i've done countless searches here and web-wide with no results. i get lots of help on parsing (which is a cakewalk as far as i'm concerned compared to this stupid stupid display problem).
    here's my jsp (and please no flames about separating out business logic and presentation code):
    -------------code-----------------------
    <%@ page language="java" import="java.sql.*" %>
    <%@ include file="/lib/connectionOpen.jsp" %>
    <%@ include file="/lib/getDateNow.jsp" %>
    <%
    int itemId = 0;
    String baseUrl = "http://www.mysite.com/editorial/news.jsp?", headline = "", itemText = "", itemDate = "", itemLink = "";
    // getDateNow.jsp sets Calendar calendar and java.util.Date rightNow
    java.util.Date createDate = new java.util.Date();
    SimpleDateFormat pubDateFormat = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z");
    %>
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <rss version="2.0">
         <channel>
              <title>Recent Updates</title>
              <link>http://www.mysite.com</link>
              <description>Latest updates from mysite.com</description>
              <language>en-us</language>
              <copyright>Copyright ?2003-2004 MySite, LLC</copyright>
              <pubDate><%= pubDateFormat.format(new java.util.Date()) %></pubDate>
              <category>Reviews</category>
              <image>
                   <url>http://www.mysite.com/images/logo.gif</url>
                   <link>http://www.mysite.com/</link>
                   <title>MySite.com</title>
                   <width>144</width>
                   <height>25</height>
              </image>
    <%-- /* end header stuff */ --%>
    <%
    try {
         stmt_ = conn_.prepareCall("{Call get_rss_items_for_feed }");
         result_ = stmt_.executeQuery();
         while (result_.next()) {
              itemId = result_.getInt("item_id");
              headline = result_.getString("headline");
              itemText = result_.getString("item_text").trim();
              createDate = result_.getDate("create_date");
              itemLink = baseUrl + "item_day=" + createDate + "&item_id=" + itemId;
    %>
              <item>
                   <title><%= headline %></title>
                   <link><%= itemLink %></link>
                   <description><%= itemText %></description>
                   <guid><%= itemLink %></guid>
                   <pubDate><%= pubDateFormat.format(createDate) %></pubDate>
              </item>
    <%
              lastCreateDate = createDate;
         result_.close();
         stmt_.close();
    %>
         </channel>
    </rss>
    <%
    } catch (Exception e) {
         java.io.ByteArrayOutputStream bytes = new java.io.ByteArrayOutputStream();
         java.io.PrintWriter writer = new java.io.PrintWriter(bytes, true);
         e.printStackTrace(writer);
         out.println("<pre>" + bytes.toString() + "</pre>");
    } finally { %>
    <%@ include file="/lib/connectionClose.jsp" %>
    <% } %>

    I will presume you are generating valid xml. What happens if you view source, save it as an xml file, and then try and open it? Is it valid?
    Try this at the top of your page.
    <%@ page contentType="text/xml" %>
    That may help the browser understand that you are sending it xml.
    I dunno - I had mixed results with my little experiment here - IE didn't even try to load it sometimes.
    Good luck,
    evnafets

  • Need help generating variable name for timeout object

    Below is a function I am using to scale an object down and
    then hide it. It works fine on just one object, but if I try to run
    it on multiple objects at the same time, only the last object gets
    scaled down. I believe this is because the timeout list only ever
    has a single item in it, “ShrinkTimeOut”.
    Does each entity in the timeout list need a distinct name?
    And if so, how would I dynamically generate a name and save it so I
    can kill the timeout object once the object has scaled down fully?

    > Does it look like I am getting rid of the timeout object
    properly in my code?
    Now that you mention it, and I have a look, no - it doesn't:
    //not sure of the order of parameters here:
    function fShrinkLoop(mModel, aTimeout) {
    //Creates a variable that contains the vector value of the
    model's
    scale (vector( 1.0000, 1.0000, 1.0000 )).
    nScaleVector = mModel.getPropRef("transform").scale;
    //Checks to see if the model is 1% or less than its original
    size.
    if (nScaleVector[1]<=0.01) {
    //Makes the model invisible.
    mModel.visibility = symbol("none");
    //Kills the timeout object.
    aTimeout.forget();
    } else {
    //If it is not, we scale the model down further and allow
    the loop to
    repeat.
    mModel.scale(0.9);

  • I need help generating a formula in excel 2013

    Hello All,
    i have a excel workbook with multiple worksheets, what i am trying to create now is "summary worksheet" which holds the calculated count of totals from
    different worksheets in same workbook.
    what i am after is:
    >> I have a user worksheet with all the information contain about user details that i am interested in. In my "User worksheet" i have two columns (I and J) which i want to count in my "Summary Worksheet".  
    >> Column I of User worksheet contain information about years like 2007, 2010, 2012 and 2014. Column J contains information for version of software used like Professional, Standard, OEM, Bespoke. 
    >> In Summary worksheet i want to count total number of software version used in particular year. like if I=2007 then how many versions of Professional, Standard
    and bespoke software is used.
    i do not want to use VBA. Can someone help me in generating such a formula.
    Thanks in advance.
    Regards,
    Ajay
    Ajay Kumar

    Dear All, 
    I hope if someone here can help me with a formula where I want to get how many days it is due. I want to subtract due dates with the current day and keeps on updating or incrementing with 1 on the next day. And, using Excel 2013 
    Thanks to all who can help me with this in advance :) 
    Regards,
    Flava 

  • HELP! Need help generating TEXT-ONLY portal page...

    Text Only Portal Question:
    PLATFORM:
    =================================================================
    Sun Solaris (5.2 if memory serves) for db and mid-tier, running
    8.1.7 DB and 3.0.9 (1.0.2.2) portal.
    THE NEED:
    =================================================================
    I need to display text only portal pages. Some of the more
    detailed concerns at this point are below. Also, I've had an open
    tar on Metalink for about two weeks, and after research from
    their end has resulted in no help.
    THE ISSUES (so far):
    =================================================================
    IMAGES:
    If an anchor [A HREF=...] tag uses an image as it's "text", I
    need to strip out the ALT= text to show inside the anchor. If no
    ALT text is available, then I would like to show the image name
    as a default.
    For example:
    <img src=home.gif
    alt=Home>
    should display as:
    Home
    FORMS:
    How do I get the resulting page from a form (which include the
    login inputs and submit button, search box, advanced search page,
    etc.) to be displayed by the text only page?
    For example:
    When a form is called, the <FORM> elements are as follows:
    METHOD=GET or POST
    ACTION=url (relative or absolute) to the script.
    In this case, the action value is:
    ACTION=/servlet/page?
    pageid=6&dad=portal30&_schema=PORTAL30.
    This calls the advanced search API.
    I would expect that to redirect the browser back to some
    text-only version, the ACTION= element would have to be changed
    to be something like:
    ACTION=[pathscraper]?/servlet/page?
    pageid=6&dad=portal30&_schema=PORTAL30
    REDIRECTION:
    What happens when portal pages redirect internally? How do you
    get back to the text-only page?
    For example:
    The login link on the standard Oracle Portal home page flips
    from url to url to get to the actual login page. Our
    implementation of Oracle portal goes from
    [DOMAIN]/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    to [domain]/pls/portal30_sso/portal30_sso.login_page.
    Since this is standard Oracle redirection, how can it be
    intercepted so the portal30_sso.login_page can be presented as
    text only?
    TRIED SO FAR:
    =================================================================
    I've written a socket/text scraper in Perl, running it from a web
    server. The problems mentioned above are really causing problems,
    plus the whole cookie thing. Since Oracle Portal tries to push a
    cookie to the client, when the client is another UNIX server,
    the cookie thing doesn't work.
    POSSIBLE OTHER SOLUTIONS:
    =================================================================
    Something...anything. I've tried to think of some method to
    create some sort of PL/SQL procedure to catch the content then
    strip out the HTML calls.
    An Applet to do the same thing, but on the client side, but
    since time is an issue, coding a complete Java applet isn't
    really an option.
    THE CONCLUSION:
    =================================================================
    HELP! I need some help. This is for a client that is government
    funded, and to meet Section 508 (part of the Americans with
    Disabilities Act that states web sites and applications must be
    made accessible. A text-only page is one of the requirements for
    an accessible page.
    Thanks,
    Ryan Stefani
    ps: feel free to contact me via [email protected] or
    [email protected]

    Use Find/Change and the GREP tab.
    Search for .+ and set the Find formatting to find the charcteristics you want.
    What will you do with this text once found? You'll need something to "change" to, either new text or Change Formatting options...

  • Need help for tree control

    Hi everybody,
    I am getting a display problem with tree control. The tree
    control has a fixed height and width, and has quite a few nodes
    with different level of branches. When i have the tree fully
    expanded, then I am getting both horizontal and vertical scrolls.
    If I scroll down using vertical scrollbar and scroll right using
    horizontal scrollbar, I am able to see the tree node labels
    properly. But after that if I scroll up then the nodes that had got
    hidden due to the previous down scroll appear cut off.. the label
    is half way erased.

    Hi everybody,
    I am getting a display problem with tree control. The tree
    control has a fixed height and width, and has quite a few nodes
    with different level of branches. When i have the tree fully
    expanded, then I am getting both horizontal and vertical scrolls.
    If I scroll down using vertical scrollbar and scroll right using
    horizontal scrollbar, I am able to see the tree node labels
    properly. But after that if I scroll up then the nodes that had got
    hidden due to the previous down scroll appear cut off.. the label
    is half way erased.

  • Need help with SQL retrieval for previous month till current date

    Hi ,
    Need help generating statistics from previous month from date of enquiry till current date of enquiry.
    and have to display it according to date.
    Date of enquiry : 03/02/2012
    Application Type| 01/01/2012 | 02/01/2012 | 03/01/2012 |...... | 31/01/2012 | 01/02/2012 | 02/02/2012 | 03/02/2012 |
    sample1 20 30 40
    sample 2 40 40 50
    sample 3 50 30 30
    Hope you guys can help me with this.
    Regards

    Hi,
    932472 wrote:
    Scenario
    1)If i run the query at 12 pm on 03/2/2012. the result i will have to display till the current day.
    2)displaying the count of the application made based on the date.
    Application type 01012012 | 02012012 | 03012012 | ..... 01022012| 02022012|03022012
    sample 1 30 40 50 44 30
    sample 2 35 45 55
    sample 3 36 45 55Explain how you get those results from the sample data you posted.
    It would help a lot if you posted the results in \ tags, as described in the forum FAQ. {message{id=9360002}
    SELECT     application_type as Application_type
    ,     COUNT (CASE WHEN created_dt = sysdate-3 THEN 1 END)     AS 01012012 (should be getting dynamically)
    ,     COUNT (CASE WHEN created_dt = sysdate-4 THEN 1 END)     AS 02022012
    ,     COUNT (CASE WHEN created_dt = sysdate-5 THEN 1 END)     AS 03022012
    , COUNT (CASE WHEN created_dt = sysdate-6 THEN 1 END)     AS 04022012
    FROM     table_1
    GROUP BY application_type
    ORDER BY     application_typeThat's the bais idea.
    You can simplify it a little by factoring out the date differences:WITH got_d     AS
         SELECT     qty
         ,     TRUNC ( dt
              - ADD_MONTHS ( TRUNC (SYSDATE, 'MON')
                        , -1
              ) AS d
         FROM table1
         WHERE     dt     >= ADD_MONTHS ( TRUNC (SYSDATE, 'MON')
                        , -1
         AND dt     < TRUNC (SYSDATE) + 1
    SELECT     SUM (CASE WHEN d = 1 THEN qty END)     AS day_1
    ,     SUM (CASE WHEN d = 2 THEN qty END)     AS day_2
    ,     SUM (CASE WHEN d = 62 THEN qty END)     AS day_62
    FROM     got_d
    See the links I mentioned earlier for getting exactly the right number of columns, and dynamic column aliases.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I need help.  Can LiveCycle PDF Generator accept network print jobs from a PCL only source?

    I need help.  Can LiveCycle PDF Generator accept network print jobs from a PCL only source?

    More information about this game:
    The game should generate a random obstacle course for the player. The first column of the grid, however, should consist of all empty pieces, with the exception of the upper left-hand corner, which is the grid location where the player initially resides.
    Enter a loop in which the following things happen (not necessarily in this order):
    Print the current board configuration. Additionally, a key should be printed describing what each piece is.
    Get an action from the user. The player can move up, down, left, or right. Use the following controls: up = 'i', down = 'm', left = 'j', right = 'k'. The player can move at most one block at a time. Of course, if the player tries to move into a spot occupied by an immovable block, the player will not move.
    Inform the player whether they have won, or if they have lost (a player loses if they step on a bomb piece).
    If the player types 'q', the game should terminate.
    I am still stuck on this maze generator stuff.... Please help me....

  • Need web component to generate Tree

    I need a web component to generate Tree from SQL query (or from BC4J View). In BC4J JSP components I didn't find something like Tree. What can I use for that task?

    You should take a look at the Jdev 9.0.3 <uix:hGrid /> tag. For more information use the Jdev 9.0.3 version of the 'UIX Developer Guide'. There are also some usefull Javascript libraries at http://www.insidedhtml.com

  • Need help with codings on generating random words

    hi guys.. i need help with generating random words from a list of array. please help me with the codings.. let me know the other variables that are needed if required as well.. thanks a million..
    private String wordList[] = { "abstraction", "command", "arithmetic", "backslash" };

    Hi,
    You can use the Random class to generate Random number between 0 to the array length and use the generated random number as index in to the Strign array.
    To generate Random number use the following code
    Random r = new Random();
    num = ((r.nextInt() >>> 1) % wordList.length);
    num will have the randomly generated number.

  • Please, I need help - How can I generate a text file with Word format?

    Hello friends at www.oracle.com ,
    is it possible for me to create a text file - that is, with TEXT_IO.fopen, and so on - that's already formatted as a Word document?
    We have a Forms program here, where it's needed to generate a text file with .RTF format, 8 centimeters margin, Times New Roman font, with size 7.
    Best regards,
    Franklin Goncalves Jr.

    Hello Shay,
    sincere thanks for your answer. And, to answer your last question, I'm using client-server model.
    Since I couldn't create this .RTF file by using built-ins like TEXT_IO, I tried to generate an .RTF file using Reports, passing the parameters DESTYPE, DESNAME and DESFORMAT, as shown below.
    add_parameter (pl_id, 'DESTYPE', text_parameter, 'FILE');
    add_parameter (pl_id, 'DESNAME', text_parameter, 'c:\franklin.rtf');
    add_parameter (pl_id, 'DESFORMAT', text_parameter, 'RTF');
    However, the just generated .RTF file is uncomprehensible. After opening the file at Microsoft Word, I can see the following message at the top of file:
    This file was created by Oracle Reports. Please view this document in Page Layout mode.
    ... and informations doesn't appear as desired.
    If I can't generate such text format by using TEXT_IO, and if generating an .RTF file through Reports shows me an incomprehensible result, how can I export the selected result to an .RTF file?
    When Reports is opened, choosing Generate to file -> RTF doesn't export anything.
    Thanks, and best regards,
    Franklin Goncalves Jr.

Maybe you are looking for

  • Adobe forms from scratch - Standard programs?

    Hi, I have just begun trying to implement Adobe forms from scratch at my company. Previosly we have used an external printing solution so I can't convert anything. My plan is to create a new output medium and let the users select the new type by them

  • Unexpect line performanc​e

    I have two problems here: 1. When I use make a  2D curve, it looks like the connect the last point of my data the the first point, the slash form time 1s to time 0s isn't my expect.(Please see the figure attached) 2.When I want to  use  2 Y Axis, I c

  • Restoring DPMDB 2012 SP1 to a New Server

    Greetings, I am in the middle of moving primary DPM servers.  This was not for the purpose of upgrading DPM.  We were running DPM 2012 SP1 on Server 2012, using a remote instance of SQL 2012.  Now, I am moving to a new DPM server (using DPM 2012 SP1

  • Problems With my nx7900gt...HELP!! (SOLVED)

    I got like a week ago an msi nx7900gt it isntalled fine, and the first game a trew at her looked amazin (TES Ovlibion)... how ever after  that I installed all my favorites benchmarks 3Dmark03,05,06 and aquamark3... All of them rab just fine, but afte

  • Spreadsheet file will not open

    cannot open an AppleWorks6 spreadsheet file message said "file is damaged"