Getline produces an illegal output and causes an error

Hello
i have some problems with getline under Matrixx 7.17 - windows xp
Calling getline und typing something into the line produces an output like:
plot2d_cb "on_click_border", "MainWin",3;
plot2d_cb "on_click_border", "MainWin",3;
The input of the user is ignored.
This problem only occures when getline is  used in a function together with plot2d.
Is this problem known? What can i do to fix this bug?
Ralph
DaimlerChrysler R&D

i just build an example to document the problem:
Execute getlinetest.ms
File getlinetest.ms
================
erase {logarea}
display("This Script will show the problems with getline and plot2d")
display("plot2d seems to send his output to getline....")
pause ""
out=getlinetest_in_function(2)
File getlinetest_in_function.msf
==========================
function out=getlinetest_in_function(def_zahl)
plot_win_ampsec1=33
plot_win_ampsec2=34
time_vek=[0:0.01:10]'
y1=[sin(time_vek),cos(time_vek)]
y2=[cos(time_vek),1+cos(time_vek)]
y3=[cos(time_vek),sin(time_vek)]
y4=[-sin(time_vek),-cos(time_vek)]
y5=[-sin(time_vek),cos(time_vek)]
y6=[sin(time_vek),-cos(time_vek)]
plot2d(1,2,{win=plot_win_ampsec1})
plot2d({win=plot_win_ampsec1,destroy=1})
plot2d(1,2,{win=plot_win_ampsec2})
plot2d({win=plot_win_ampsec2,destroy=1})
counter=1
counter_max=20
idx_choice=[]
while out(1)<>0 & counter<counter_max
 display("######### Next Trial ##########")
  # first window
  plot2d(time_vek,[y1],{keep=0,title="az vr", grid,xlab="t[s]",ylab="y1",nr=3,nc=2,r=1,c=1, win=plot_win_ampsec1})
   plot2d(time_vek,[y2],{keep=1,title="az vl", grid,xlab="t[s]",ylab="y2",r=1,c=2,win=plot_win_am​psec1})
   plot2d(time_vek,[y3],{keep=1,title="az hr", grid,xlab="t[s]",ylab="y3",r=2,c=1, win=plot_win_ampsec1})
   plot2d(time_vek,[y4],{keep=1,title="az hl", grid,xlab="t[s]^2",ylab="y4",r=2,c=2, win=plot_win_ampsec1})
   plot2d(time_vek,[y5],{keep=1,title="w_2dot",grid,x​lab="t[s]",ylab="y5",r=3,c=1, win=plot_win_ampsec1})
   plot2d(time_vek,[y6],{keep=1,title="n_2dot",grid,x​lab="t[s]",ylab="y6",r=3,c=2, win=plot_win_ampsec1})
   # second window
  plot2d(time_vek,[y1],{keep=0,title="az1 vr", grid,xlab="t[s]",ylab="y1",nr=3,nc=2,r=1,c=1, win=plot_win_ampsec2})
   plot2d(time_vek,[y2],{keep=1,title="az1 vl", grid,xlab="t[s]",ylab="y2",r=1,c=2,win=plot_win_am​psec2})
   plot2d(time_vek,[y3],{keep=1,title="az1 hr", grid,xlab="t[s]",ylab="y3",r=2,c=1, win=plot_win_ampsec2})
   plot2d(time_vek,[y4],{keep=1,title="az1 hl", grid,xlab="t[s]",ylab="y4",r=2,c=2, win=plot_win_ampsec2})
   plot2d(time_vek,[y5],{keep=1,title="w1_2dot",grid,​xlab="t[s]",ylab="y5",r=3,c=1, win=plot_win_ampsec2})
   plot2d(time_vek,[y6],{keep=1,title="n1_2dot",grid,​xlab="t[s]",ylab="y6",r=3,c=2, win=plot_win_ampsec2})
  # idx_choice=getchoice("Select something or not",["Topic1","Topic2","Topic3","Topic4","Topic5"​],{multiple,default=[idx_choice]})
 display("Now Click into both plot2d-Windows")
 out=getline("Click into both plot2d-Windows. Exit with 0!")
 display("Output of getline:")
 display(out)
 display("End of Output of getline:")
 errorflag=index(out(1),"plot2d_cb")
 if errorflag<>-1 & errorflag<>[]
   beep
   pause "look to the output of getline"
   pause "This problem occures not only when you click on a window"
   pause "Somtimes moving of a plot2d-Window will produce also the error"
 endif
 out=makematrix(out)
 counter=counter+1
endwhile
if counter>=counter_max
 display("We finish")
endif
endfunction
DaimlerChrysler R&D

Similar Messages

  • How to show PL/SQL package  output and fix below error(please help)

    --PACKAGE SPECIFICATION AND BODY complied successfully but I can not see output some error are also there..  please help ;how to fix this problem
    -- with code
    CREATE OR REPLACE PACKAGE package_variables IS
    -- Declare package components.
    PROCEDURE set(value VARCHAR2);
    FUNCTION get RETURN VARCHAR2;
    END package_variables;
    CREATE OR REPLACE PACKAGE BODY package_variables IS
    -- Declare package scope variable.
    variable VARCHAR2(20) := 'Initial Value';
    -- Define function
    FUNCTION get RETURN VARCHAR2 IS
    BEGIN
    RETURN variable;
    END get;
    -- Define procedure.
    PROCEDURE set(value VARCHAR2) IS
    BEGIN
    variable := value;
    END set;
    END package_variables;
    VARIABLE outcome VARCHAR2(20)
    CALL package_variables.get() INTO :outcome;
    SELECT :outcome AS outcome FROM dual;
    EXECUTE package_variables.set('New Value');
    CALL package_variables.get() INTO :outcome;
    SELECT :outcome AS outcome FROM dual;
    OUTPUT
    PACKAGE package_variables Compiled.
    PACKAGE BODY package_variables Compiled.
    Error starting at line 2 in command:
    CALL package_variables.get() INTO :outcome
    Error report:
    SQL Error: ORA-01008: not all variables bound
    01008. 00000 - "not all variables bound"
    *Cause:   
    *Action:
    OUTCOME
    1 rows selected
    anonymous block completed
    Error starting at line 2 in command:
    CALL package_variables.get() INTO :outcome
    Error report:
    SQL Error: ORA-01008: not all variables bound
    01008. 00000 - "not all variables bound"
    *Cause:   
    *Action:
    OUTCOME
    1 rows selected
    */

    EXECUTE package_variables.set('New Value');
    CALL package_variables.get INTO :outcome;
    SELECT :outcome AS outcome FROM dual;
    OUTPUT
    anonymous block completed
    Error starting at line 2 in command:
    CALL package_variables.get INTO :outcome
    Error report:
    SQL Error: ORA-06576: not a valid function or procedure name
    06576. 00000 - "not a valid function or procedure name"
    *Cause:    Could not find a function (if an INTO clause was present) or
    a procedure (if the statement did not have an INTO clause) to
    call.
    *Action:   Change the statement to invoke a function or procedure
    OUTCOME
    1 rows selected

  • 8540w no display port video output and strange LED error code

    Greetings,
    my HP 8540w (I5 M 560, Quadro FX 880M) recently started acting a bit strangely.
    First the graphics card driver started crashing.
    A couple of days ago it started showing this strange I presume it to be an error code:
    https://dl.dropboxusercontent.com/u/29403117/IMG_0902.JPG
    And today the display port output doesn't detect any monitor (VGA works). The laptop is docked on a HP basic docking station and out of the three display output options only the VGA works.
    I've searched the web and found that error codes are displayed only via the blinking num lock and caps lock LEDs. The amber Wi-Fi and HDD LEDs turn on when the laptop is turned off and operate with normal colors while the laptop is turned on.
    Has anyone seen this kind of behavior before, will the graphics card have to be replaced or can this be fixed?
    Thank you for your replys and best regards.

    Hi tehnikk,
    Your EliteBook 8540w is a commercial product and to get your issue more exposure I would suggest posting in the commercial forums. Here is a link to the Commercial Notebook forum.
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • IFS is slow and causing an error in the jserv.log

    I get the error message:
    =public
    [05/06/2001 08:08:51:181] (EMERGENCY) ajp12[1]: cannot scan servlet headers (50
    0)
    [05/06/2001 08:08:51:182] (ERROR) an error returned handling request via protoco
    l "ajpv12"
    IN THE JSERV.LOG

    Hi,
    Check the TNAPR Table by putting the Form Name / Program Name to find out the output type it is attached to.
    Debug
    The other method of checking is by setting up a break-point at smartform and manually entering a PO using the same upload data and try to save it. But this would not help you much. Because the root cause is the Determination of output type.
    Thanks & Regards
    Suresh Nair

  • Kff.where returns 'null'  and causes sql error - looking for a work around

    Hello,
    I am using BI 5.6.3 in EBS (11.5.10.2)
    I have created a kff.where as follows:
    <lexical
    type="oracle.apps.fnd.flex.kff.where"
    name="lp_location_where_clause"
    comment="Comment"
    application_short_name="OFA"
    id_flex_code="LOC#"
    id_flex_num=":lp_location_flex_structure"
    code_combination_table_alias="loc"
    segments="ALL"
    operator="BETWEEN"
    operand1=":p_location_low"
    operand2=":p_location_high"/>
    </lexicals>
    Everything works fine, as long as I have a values for the p_location_low and p_location_high. However, this is a parameter that comes in from a concurrent program and is optional. When the user doesn't pick a value, :p_location_low is the concatenated delimiters for the location '..'.
    When this runs, the kff.where is returning null which causes 'Invalid Relational Operation error' because 'AND null' is not valid.
    Warning in the log is :[091910_025232517][][STATEMENT] !!Warning: FlexAPI returns null for 'x_where_expression' lexical definition...
    Does anyone have a workaround for this since making the parameter required is not an option for my users?
    Thanks for reading.

    In your SQL*Plus session, make sure you
    SQL> set define offbefore trying to create the Java stored procedure. SQL*Plus assumes that any string that begins with an & is a substitution variable unless you tell it that you have no substitution variables (via set define off).
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Smartform output not displaying, no formatting affected on output and shows formatting Error.

    Hi Guys,
    I am new to SAP and working in Smartforms now. I am facing an issue that the output screen is not showing any formatting done during the design phase. Not even font changes are displaying, instead only showing the default Courier font. No Bold as well as italics too. And borders also showing some problems.
    It was working properly till the last day and suddenly it gone faulty. Hence I cannot run the form and when  I try to run it, it displays nothing. I have been designing a Tax Invoice. When I tried to execute the smartform from the form itself, it was showing Formatting Error.
    What is the solution for this? I am using ECC 6. Please share your views.

    Hi Sanjeev,
    I've not made any changes to the formatting (Fonts and Borders) and I cross checked it many times.
    Everything is fine and Times used everywhere as Font. It is showing the same in the design too but in the output, it comes as Courier !! (May be default settings in case there is some exceptions, I don't know)
    I tried another report, pick list form, which too showing the same things. As we have developed only two reports, we cannot check more. The standard SAP forms are displaying as is, but the problem is with the newly designed ones.(Standard forms too are displaying in Courier font)
    I think it might be any problem related to the output graphical properties of the smart forms...!!! I am not sure but I need expert advice from you if there is any such scenarios...

  • A view, function and TO_DATE causing an error.

    I have the following statement which calls a view, VW_DIST_RPT_WORK_LIST which in turn calls a function which returns either 'Null' or a date string e.g. '07 Oct 2003' as a VARCHAR2 (alias PROJECTED_DELIVERY_DATE).
    Statement:
    SELECT CUSTOMER_NAME, PROTOCOL_REFERENCE, SHIPPING_REFERENCE, CUSTOMER_REFERENCE, COUNTRY, PROJECTED_DELIVERY_DATE, STATUS, NOTES,
    TO_DATE(PROJECTED_DELIVERY_DATE)
    FROM VW_DIST_RPT_WORK_LIST
    WHERE EXPECTED_DESP_DT IS NOT NULL
    AND UPPER(PROJECTED_DELIVERY_DATE) NOT LIKE('NULL%')
    AND EXPECTED_DESP_DT <= TO_DATE('07/10/2003', 'DD/MM/YYYY')
    AND TO_DATE(PROJECTED_DELIVERY_DATE) <= TO_DATE('31/12/2003', 'DD/MM/YYYY') --< Problem here
    I need to be able to specify a date filter on the PROJECTED_DELIVERY_DATE field and hence used the TO_DATE(PROJECTED_DELIVERY_DATE) <= TO_DATE('31/12/2003', 'DD/MM/YYYY') but this is generating an ORA-01858: a non-numeric character was found where a numeric character was expected.
    I think the problem lies with the fact that this field can contain 'Null' which cannot be converted to a date using TO_DATE. I've tried adding a NOT LIKE ('NULL%') statement to catch any nulls which may be creeping in bu this doesn't solve the problem.
    I've added TO_DATE(PROJECTED_DELIVERY_DATE) to the select above to determine if the nulls are being caught and if the TO_DATE in performing the conversion correctly which it is on both counts.
    Any ideas anyone ?

    The answer provided above by Monika will work for this situation. However, you should seriously think whether you should be using a string for date datatype. Ideally, you should rewrite the function that returns PROJECTED_DELIVERY_DATE and change the return type to DATE. The least you should do is to return NULL (instead of the string 'NULL') from the function. Oracle handles nulls perfectly, there is no reason you should write code to handle nulls;
    One more thing. Looking at the type of error you are receiving, it seems that you are using rule based optimizer. Why do I think so? Because, in rule based optimizer, the conditions are evaluated in a specific order (viz, bottoms-up for AND clauses). To show this, look at the following simple demonstration. I did this in Oracle 8.1.6 (also in 9.2.0.4.0 on Windows).
    -- Check the database version
    select * from v$version;
    BANNER
    Oracle8i Enterprise Edition Release 8.1.6.1.0 - Production
    PL/SQL Release 8.1.6.1.0 - Production
    CORE 8.1.6.0.0 Production
    TNS for Solaris: Version 8.1.6.0.0 - Production
    NLSRTL Version 3.4.0.0.0 - Production
    -- Create the test table
    create table test (a number(2));
    insert into test(a) values (0);
    insert into test(a) values (1);
    insert into test(a) values (2);
    insert into test(a) values (3);
    insert into test(a) values (4);
    insert into test(a) values (5);
    insert into test(a) values (6);
    insert into test(a) values (7);
    commit;
    -- See that I have not analyzed the table. This will make use of RULE based optimizer
    select * from test
    where a > 0
    and 1/a < .25;
    and 1/a < .25
    ERROR at line 3:
    ORA-01476: divisor is equal to zero
    -- Look at the query clause. Even though I specifically asked for records where a is positive
    -- the evaluation path of rule based optimizer started at the bottom and as it evaluated the
    -- first row with a=0, and caused an error.
    -- Now look at the query below. I just re-arranged the conditions so that a > 0 is evaluated
    -- first. As a result, the row with a=0 is ignored and the query executes without any problem.
    select * from test
    where 1/a < .25
    and a > 0;
    A
    5
    6
    7
    -- Now I analyze the table to create statistics. This will make the query use the
    -- cost based optimizer (since optimizer goal is set to CHOOSE)
    analyze table test compute statistics;
    Table analyzed.
    -- Now I issue the erring query. See it executes without any problem. This indicates that
    -- the cost based optimizer was intelligent enough to evaluate the proper path instead of
    -- looking only at the syntax.
    select * from test
    where a > 0
    and 1/a < .25;
    A
    5
    6
    7
    Does the above example seem familiar to your case? Even though you had the AND UPPER(PROJECTED_DELIVERY_DATE) NOT LIKE('NULL%') in your query, a record with PROJECTED_DELIVERY_DATE = 'NULL' was evaluated first and that caused the error.
    Summary
    1. Use dates for dates and strings for strings
    2. Use cost based optimizer
    Thanks
    Suman

  • [SOLVED] building SAGA GIS with wxgtk 3.0.0 causes compile errors

    My pkgbuild is on pastebin that I'm using to update saga-gis 2.1.1 and it won't compile against wxgtk 3.0.0
    My compile output and the resulting error is on pastebin too.
    I've been told that this could be because saga-gis is looking for or referencing the old wxgtk2.8 libs but I can't tell why.
    I have the following packages related to wxwidgets installed on my Arch box:
    1 extra/wxgtk 3.0.0-2 [installed]
    GTK+ implementation of wxWidgets API for GUI
    2 extra/wxgtk2.8 2.8.12.1-1 [installed]
    GTK+ implementation of wxWidgets API for GUI
    4 extra/wxpython 3.0.0.0-2 [installed]
    A wxWidgets GUI toolkit for Python
    5 extra/wxpython2.8 2.8.12.1-1 [installed]
    A wxWidgets GUI toolkit for Python
    Last edited by saultdon (2014-01-20 14:17:36)

    Yup, saga compiles against wxgtk when it's built without the --enable-slt flag. Luckily for me, saga-gis is the only package I have that relies on wxgtk>=3.0.0 so it shouldn't be affected.

  • Bad update push is causing system errors

    Way to go Apple.  Pushing out an update that is broken and now application is broken AND causing system errors (see all other comments).  Get you act together and fix this ASAP.  Just because we are Windows users, don't punish us.

    Way to go Apple.  Pushing out an update that is broken and now application is broken AND causing system errors (see all other comments).  Get you act together and fix this ASAP.  Just because we are Windows users, don't punish us.

  • Sharpener Pro 3 has problems in Aperture as the Pre sharpener continually asks one to buy or activate and the Output Sharpener causes Aperture to hang. Have removed all duplicate fonts and tried using a new user account. Any ideas?

    I am experiencing problems with Sharpener Pro 3 as an Aperture 3 plug-in. These are:  the Pre sharpener continually asks one to buy or activate and the Output Sharpener causes Aperture to hang. Following discussions with Nik Software I have removed all duplicate fonts and tried using a new user account. Neither of the courses of action worked. Have other users experienced these difficulties? Can you suggest an alternative remedy?

    I am experiencing problems with Sharpener Pro 3 as an Aperture 3 plug-in. These are:  the Pre sharpener continually asks one to buy or activate and the Output Sharpener causes Aperture to hang. Following discussions with Nik Software I have removed all duplicate fonts and tried using a new user account. Neither of the courses of action worked. Have other users experienced these difficulties? Can you suggest an alternative remedy?

  • I am trying to make a Phase Locked Loop and I have to produce a continuous output with the incom

    ing data; so I should not use a buffer which is refreshed in every 3 seconds (by this way I am not able to get a continuous output). How am I going to obtain a continuous output signal which uses a continuous buffer (or no buffer maybe), from my DAQ board?When I try to produce a continuous output (a sine wave) according to a continuously changing input data, I see that the sine wave I can get from the DAQ board output has straight horizontal lines between waves. This means the buffer creates a wave, then stops until it fills, and then creates another output sine wave again; so I can't get a continuous sine wave output from the DAQ board. How am I going to deal with it when im
    plementing a PLL in labview.

    ing data; so I should not use a buffer which is refreshed in every 3 seconds (by this way I am not able to get a continuous output). How am I going to obtain a continuous output signal which uses a continuous buffer (or no buffer maybe), from my DAQ board?Greetings:
    It looks like you need to increase your number of samples by quite a bit. Can you supply any more information, such as your sample rate, which DAQ vi you're using, etc?
    Eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • Question on Blu ray image size output and reducing the size

    Hi
    I have been using encore for blu ray projects which is been proving very helpful. However recently i have had a issue with output size on files. Normally Encore gives me it's estimate that it will fill the disc nicely and provides a image/folder which is about 17-20GB (using 25GB disc) but now out of the blue it's files sizes it outputs has been 24.8GB which technically is less than 25GB but as anyone knows who burns to media, the disc doesn't actually have 25GB of space (something like 23,8 or something, i can't remember without checking). Anyway of course this is a issue because my output size is contantly now coming up to be about 600MB - 1GB over the disc actual size, i figured Encore normally compresses files to fit considering i have burned similar amounts/size media before and never had a issue.
    Anyway my issue is the slightly larger file size, i figured the easiest way to reduce the blu ray output size was to of course play with the transcode settings, which usually are set to the default settings for Blu ray (the quality preset is called something like "1280x720p 50 High Quality MPEG-2") so of course i thought to lower the bitrate a little just for a test, so i did just that and cut the default bit rate from 25[Mbs] to 20, i didn't want to lower it too much as it was a test to see what i could save for file size. Anyway so i re-transcoded the file and built another image, sadly the image size oddly enough came out as 26.something GB... so it actually grew in size by reducing the file bitrate which put me at a loss. I was wondering what common ways i could use to lower this file size just by a few hundred MB or up to 1GB in this case without having to remove content from the disc (it would be a waste to not only seperate the content but to use a whole disc for a leftover 600mb-1gb project). I of course want to keep quality as high as possible but i understand when trying to reduce size quality has to normally be hit in these situations so i can deal with a slight loss of quality. I have been browsing the forums here and though some topics seem similar they have the issue of file sizes coming out as 40GB+.
    Now im no genius with Encore, normally as said the file size is always between 17-20GB as i figure encore was using a "fit to disc" type feature but because the output size is technically below 25gb but not actually below enough to burn i was wondering 2 things:
    1) is it possible to make encore it's self shrink these files a little more, lowering the target size down by 1GB would do wonders but only option i have seen is to have a 25GB disc or DL disc with no option to customize the output size (forcefully lowering it by 1GB).
    2) because i imagine the above can't be done i was wondering how to go about reducing the size by around 1GB or so, i don't need like 10GB freeing up so it's only a small amount, as said this is a issue i have had with the last few projects i made and the size varies from needing 600MB - 1GB (it doesn't usually exceed needing 1GB free space... besides when i lowered the bit rate which increased size a lot). In the past i always just cut the bitrate of files down a little (never by lots but enough to free space up) but clearly that failed my test so im at a loss of how to reduce file size without a huge loss in quality.
    For the record i have already produced the file as both a image file and a folder and both have the same issue.
    Extra info on the project:
    It contains 4 Menu's, 13 video files which vary in lengh from short ones at about 5mintues to longer ones which the largest is about 20minutes. I commonly burn this number of video files/space with fine quality and no issue so i would rather not take files from the project.
    quality preset details are defaultly as said above set to "1280x720p 50 High quality MPEG-2" settings, i am not on my computer with encore at the moment so i can't post full specifics right now but if you have encore handy you should be able to check.
    Tried reducing bit rate but that increased overall size, the actual plan was to hopefully lower the bit rate to around 21 [mbs] (from 25) and then do that for multiple (or all) files until it fitted but after it increased the size i lost hope there, it said the estimated file size (on the individual video) would drop by around 300-400mb  but that didn't work.
    I have tried both folder and iso which always come out the same size.
    Basically my main question/problem is any suggestion to drop the file size by up to 1GB without taking items out the project or a real high loss in quality (i don't mind small loss though as i can apply whatever solution to all files which should help).
    Any suggestions what i can try? as you probably gather im not a genius when it comes to this stuff but i tried including what i thought is relevent.

    Hi and thank you for the reply;
    one problem i seem to be having when reducing the bitrate is the file size is oddly increasing from 24.8GB to 26.4GB, i can't really figure this one out as well it's having the oppisite effect. I checked the "streams" folder on output and decided to compare automatic transcoding to manual lowered bitrate and im not too sure where the increased file size is going, i found which video file it was causing the issue, all videos files range or average around 1.6GB each but one file was taking 4.5GB, after lowering that files bitrate it cut it down to 2GB which was of course saving me 2GB from the old file but the overall size had increased which was odd. Seems the other files are all the same so it hasn't tried improving them (so it seems) so i can't make ends of why the size is increasing.
    I will try playing with the source file to see if i can do anything that way, if not i will try transcoding in premiere (i have had troubles with this before so i try to avoid it).
    Oh and yes i was using Automatic.
    Anyway i will see if editing the file outside might help first and see how that works. Thanks again for the reply.

  • Can't Produce CorrectOutput - CheckBox Output?

    My program "should"
    1. Ask for totally number in party
    2. Ask if this partyNumber is correct
    3. Get Name
    3. Get Entree Order
    4. Get Side Order
    5. If diner number < number in party
    6. Go to Step 3.
    I've been working in this for forever and I'm at the point where I'm completely confused with what I'm doing. I need a walk away from it from an hour.
    The main thing I can't figure out is I continue get Diners names and there orders and present the output.
    If I choose only one diner if will produce output but if I choose 2 or more people in Party I don't even get any output and I can't understand why? Also if I do say that there is only one person in the party it will produce input but for some reason it outputs the dinner entree of the Diner 3 times?? No side order gets output in my JOptionPane.
    Hoping someone could help me a bit with my problems. I've reached a point where I getting completey lost. Any guidance or suggestions would be greatly appreciated.
    The output which is resulting from the code is confusing me the most.
    P.S. My GUI is pretty wacked but thats another issue in itself and I'll worry about that later. Thanks again.
    My code again ******
    package finalproject;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Menu extends JFrame {
    private JTextField partyNumField, dinerName;
    private JComboBox orderComboBox;
    private int partyNum;
    private JButton getParty, continueOrder, nextDiner;
    private JLabel party, companyLogo, dinerLabel, entreeOrder;
    private String dinnerEntree[] = {"Filet Mignon", "Chicken Cheese Steak", "Tacos", "Ribs"};
    private JCheckBox mashed, cole, baked, french;
    private String output = "";
    private String diners[] = new String[100]; //set maximum Diner amounts allowed to 100
    public Menu() {
    // setting up GUI
    super("O'Brien Caterer - Where we make good Eats!");
    Container container = getContentPane();
    JPanel northPanel = new JPanel();
    northPanel.setLayout(new FlowLayout(FlowLayout.CENTER, 120, 15));
    companyLogo = new JLabel("Welcome to O'Brien's Caterer's");
    northPanel.add(companyLogo);
    party = new JLabel("Enter the Total Number in Party Please");
    partyNumField = new JTextField(5);
    northPanel.add(party);
    northPanel.add(partyNumField);
    getParty = new JButton("GO - Continue with Order");
    getParty.addActionListener(
    new ActionListener(){
    public void actionPerformed(ActionEvent actionEvent)
    partyNum = Integer.parseInt(partyNumField.getText());
    String ans=JOptionPane.showInputDialog(null, "Total Number is party is: "
    + partyNum + " is this correct?\n\n" + "Enter 1 to continue\n"
    + "Enter 2 to cancel\n");
    if (ans.equals("1")) {
    continueOrder.setEnabled(true);
    dinerLabel.setEnabled(true);
    dinerName.setEnabled(true);
    // handle continue
    } else { // assume to be 2 for cancel
    System.exit(0); // handle cancel
    ); // end Listener
    northPanel.add(getParty);
    northPanel.setPreferredSize(new Dimension(700,150));
    JPanel middlePanel = new JPanel();
    middlePanel.setLayout(new FlowLayout(FlowLayout.CENTER));
    dinerLabel = new JLabel("Please enter Diner's name");
    dinerLabel.setEnabled(false);
    dinerName = new JTextField(30);
    dinerName.setEnabled(false);
    continueOrder = new JButton("continue");
    continueOrder.setEnabled(false);
    continueOrder.addActionListener(
    new ActionListener() {
    public void actionPerformed(ActionEvent actionEvent){
    output += "Diner Name\t" + "Entree\t" + "Side Dishes\n";
    output += dinerName.getText();
    entreeOrder.setEnabled(true);
    orderComboBox.setEnabled(true);
    middlePanel.add(dinerLabel);
    middlePanel.add(continueOrder);
    middlePanel.add(dinerName);
    entreeOrder = new JLabel("Please choose an entree");
    entreeOrder.setEnabled(false);
    orderComboBox = new JComboBox(dinnerEntree);
    orderComboBox.setMaximumRowCount(5);
    orderComboBox.setEnabled(false);
    orderComboBox.addItemListener(
    new ItemListener(){
    public void itemStateChanged(ItemEvent event)
    if (event.getStateChange() == ItemEvent.SELECTED)
    output += (String)orderComboBox.getSelectedItem();
    mashed.setEnabled(true);
    cole.setEnabled(true);
    french.setEnabled(true);
    baked.setEnabled(true);
    mashed = new JCheckBox("Mashed Potatoes");
    middlePanel.add(mashed);
    mashed.setEnabled(false);
    cole = new JCheckBox("Cole Slaw");
    middlePanel.add(cole);
    cole.setEnabled(false);
    baked = new JCheckBox("Baked Beans");
    middlePanel.add(baked);
    baked.setEnabled(false);
    french = new JCheckBox("FrenchFries");
    middlePanel.add(french);
    french.setEnabled(false);
    CheckBoxHandler handler = new CheckBoxHandler();
    mashed.addItemListener(handler);
    cole.addItemListener(handler);
    baked.addItemListener(handler);
    french.addItemListener(handler);
    middlePanel.add(entreeOrder);
    middlePanel.add(orderComboBox);
    JPanel southPanel = new JPanel();
    southPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
    nextDiner = new JButton("NEXT DINER");
    southPanel.add(nextDiner);
    nextDiner.setEnabled(false);
    nextDiner.addActionListener(
    new ActionListener(){
    public void actionPerformed(ActionEvent actionEvent)
    int dinerCounter = 1;
    if (dinerCounter == partyNum)
    displayResults();
    else
    ++dinerCounter;
    dinerName.setText("");
    ); // end of nextDiner actionListener button
    container.add(northPanel, java.awt.BorderLayout.NORTH);
    container.add(middlePanel, java.awt.BorderLayout.CENTER);
    container.add(southPanel, java.awt.BorderLayout.SOUTH);
    setSize(600, 500);
    show();
    // private class to handle event of choosing CheckBoxItem
    private class CheckBoxHandler implements ItemListener{
    private int counter = 0; // counter to enable nextDiner Button when
    // two choices are selected to enable button
    public void itemStateChanged(ItemEvent event){
    if (event.getSource() == mashed)
    if (event.getStateChange() == ItemEvent.SELECTED)
    output+= (String)orderComboBox.getSelectedItem();
    counter++;
    if (event.getSource() == cole)
    if (event.getStateChange() == ItemEvent.SELECTED)
    output+= (String)orderComboBox.getSelectedItem();
    counter++;
    if (event.getSource() == baked)
    if (event.getStateChange() == ItemEvent.SELECTED)
    output+= (String)orderComboBox.getSelectedItem();
    counter++;
    if (event.getSource() == french)
    if (event.getStateChange() == ItemEvent.SELECTED)
    output+= (String)orderComboBox.getSelectedItem();
    counter++;
    if (counter >= 2)
    nextDiner.setEnabled(true);
    public void displayResults()
    JTextArea outputArea = new JTextArea();
    outputArea.setText(output);
    JOptionPane.showMessageDialog(null, output, "Final Order of Party",
    JOptionPane.INFORMATION_MESSAGE);
    System.exit(0);
    public static void main(String args[])
    Menu application = new Menu();
    application.addWindowListener(
    new WindowAdapter(){
    public void windowClosing(WindowEvent windowEvent)
    System.exit(0);
    package finalproject;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Menu extends JFrame {
    private JTextField partyNumField, dinerName;
    private JComboBox orderComboBox;
    private int partyNum;
    private JButton getParty, continueOrder, nextDiner;
    private JLabel party, companyLogo, dinerLabel, entreeOrder;
    private String dinnerEntree[] = {"Filet Mignon", "Chicken Cheese Steak", "Tacos", "Ribs"};
    private JCheckBox mashed, cole, baked, french;
    private String output = "";
    private String diners[] = new String[100]; //set maximum Diner amounts allowed to 100
    public Menu() {
    // setting up GUI
    super("O'Brien Caterer - Where we make good Eats!");
    Container container = getContentPane();
    JPanel northPanel = new JPanel();
    northPanel.setLayout(new FlowLayout(FlowLayout.CENTER, 120, 15));
    companyLogo = new JLabel("Welcome to O'Brien's Caterer's");
    northPanel.add(companyLogo);
    party = new JLabel("Enter the Total Number in Party Please");
    partyNumField = new JTextField(5);
    northPanel.add(party);
    northPanel.add(partyNumField);
    getParty = new JButton("GO - Continue with Order");
    getParty.addActionListener(
    new ActionListener(){
    public void actionPerformed(ActionEvent actionEvent)
    partyNum = Integer.parseInt(partyNumField.getText());
    String ans=JOptionPane.showInputDialog(null, "Total Number is party is: "
    + partyNum + " is this correct?\n\n" + "Enter 1 to continue\n"
    + "Enter 2 to cancel\n");
    if (ans.equals("1")) {
    continueOrder.setEnabled(true);
    dinerLabel.setEnabled(true);
    dinerName.setEnabled(true);
    // handle continue
    } else { // assume to be 2 for cancel
    System.exit(0); // handle cancel
    ); // end Listener
    northPanel.add(getParty);
    northPanel.setPreferredSize(new Dimension(700,150));
    JPanel middlePanel = new JPanel();
    middlePanel.setLayout(new FlowLayout(FlowLayout.CENTER));
    dinerLabel = new JLabel("Please enter Diner's name");
    dinerLabel.setEnabled(false);
    dinerName = new JTextField(30);
    dinerName.setEnabled(false);
    continueOrder = new JButton("continue");
    continueOrder.setEnabled(false);
    continueOrder.addActionListener(
    new ActionListener() {
    public void actionPerformed(ActionEvent actionEvent){
    output += "Diner Name\t" + "Entree\t" + "Side Dishes\n";
    output += dinerName.getText();
    entreeOrder.setEnabled(true);
    orderComboBox.setEnabled(true);
    middlePanel.add(dinerLabel);
    middlePanel.add(continueOrder);
    middlePanel.add(dinerName);
    entreeOrder = new JLabel("Please choose an entree");
    entreeOrder.setEnabled(false);
    orderComboBox = new JComboBox(dinnerEntree);
    orderComboBox.setMaximumRowCount(5);
    orderComboBox.setEnabled(false);
    orderComboBox.addItemListener(
    new ItemListener(){
    public void itemStateChanged(ItemEvent event)
    if (event.getStateChange() == ItemEvent.SELECTED)
    output += (String)orderComboBox.getSelectedItem();
    mashed.setEnabled(true);
    cole.setEnabled(true);
    french.setEnabled(true);
    baked.setEnabled(true);
    mashed = new JCheckBox("Mashed Potatoes");
    middlePanel.add(mashed);
    mashed.setEnabled(false);
    cole = new JCheckBox("Cole Slaw");
    middlePanel.add(cole);
    cole.setEnabled(false);
    baked = new JCheckBox("Baked Beans");
    middlePanel.add(baked);
    baked.setEnabled(false);
    french = new JCheckBox("FrenchFries");
    middlePanel.add(french);
    french.setEnabled(false);
    CheckBoxHandler handler = new CheckBoxHandler();
    mashed.addItemListener(handler);
    cole.addItemListener(handler);
    baked.addItemListener(handler);
    french.addItemListener(handler);
    middlePanel.add(entreeOrder);
    middlePanel.add(orderComboBox);
    JPanel southPanel = new JPanel();
    southPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
    nextDiner = new JButton("NEXT DINER");
    southPanel.add(nextDiner);
    nextDiner.setEnabled(false);
    nextDiner.addActionListener(
    new ActionListener(){
    public void actionPerformed(ActionEvent actionEvent)
    int dinerCounter = 1;
    if (dinerCounter == partyNum)
    displayResults();
    else
    ++dinerCounter;
    dinerName.setText("");
    ); // end of nextDiner actionListener button
    container.add(northPanel, java.awt.BorderLayout.NORTH);
    container.add(middlePanel, java.awt.BorderLayout.CENTER);
    container.add(southPanel, java.awt.BorderLayout.SOUTH);
    setSize(600, 500);
    show();
    // private class to handle event of choosing CheckBoxItem
    private class CheckBoxHandler implements ItemListener{
    private int counter = 0; // counter to enable nextDiner Button when
    // two choices are selected to enable button
    public void itemStateChanged(ItemEvent event){
    if (event.getSource() == mashed)
    if (event.getStateChange() == ItemEvent.SELECTED)
    output+= (String)orderComboBox.getSelectedItem();
    counter++;
    if (event.getSource() == cole)
    if (event.getStateChange() == ItemEvent.SELECTED)
    output+= (String)orderComboBox.getSelectedItem();
    counter++;
    if (event.getSource() == baked)
    if (event.getStateChange() == ItemEvent.SELECTED)
    output+= (String)orderComboBox.getSelectedItem();
    counter++;
    if (event.getSource() == french)
    if (event.getStateChange() == ItemEvent.SELECTED)
    output+= (String)orderComboBox.getSelectedItem();
    counter++;
    if (counter >= 2)
    nextDiner.setEnabled(true);
    public void displayResults()
    JTextArea outputArea = new JTextArea();
    outputArea.setText(output);
    JOptionPane.showMessageDialog(null, output, "Final Order of Party",
    JOptionPane.INFORMATION_MESSAGE);
    System.exit(0);
    public static void main(String args[])
    Menu application = new Menu();
    application.addWindowListener(
    new WindowAdapter(){
    public void windowClosing(WindowEvent windowEvent)
    System.exit(0);
    }

    Hey bud, I will look at your code and see if I can find the problem. In the mean time, I took the liberty of developing your getParty button action performed method a little. You are figuring out the main logic in your own program, I thought I would turn you on to a few validation tricks to enhance your experience.
    I know I'll get flamed for this, but I have also watched you build most of this alone. I'm just coming along behind and adding a few details. This is also how we learn. Just replace your current code with this.
    It dis-allows any thing but integer entries between 1 & 50, and offers nice dialogs so the user is not confused. Try entering junk in the partysize box and you will see. My intention was not to do your assignment for you, but to introduce you to some dialog objects and some validation technique. Don't let me down here, look at the code and try to understand how I have used those dialogs. You weren't really using them correctly before.
    ;-}~
        getParty.addActionListener(
         new ActionListener(){
          public void actionPerformed(ActionEvent actionEvent) {
            // @@@@@@@@@@@@@@@@ You will want to ensure partyNum was a number.
            final java.text.NumberFormat intFormatter =
              java.text.NumberFormat.getNumberInstance(java.util.Locale.getDefault());
            intFormatter.setParseIntegerOnly( true );
            try {
             partyNum = intFormatter.parse( partyNumField.getText() ).intValue();
            } catch (java.text.ParseException e) {
              partyNum = 0;  // party size was not a number, flag error dialog !
            // @@@@@@@@@@@@@@@@ I changed this from an input to a confirm dialog.
            // @@@@@@@@@@@@@@@@ A little more like the real thing, don't you think?
            // @@@@@@@@@@@@@@@@ This is also a good time to limit irrational values.
            if ( partyNum > 0 && partyNum < 50 ) {  // the > is a greater than operator
              int ans =
                JOptionPane.showConfirmDialog( getContentPane(),
                  "Total Number in party is: " + partyNum +
                  "\nIs this correct?",
                  "Confirm Party Size",
                  JOptionPane.YES_NO_OPTION
              if ( ans == JOptionPane.YES_OPTION ) {   // user accepted party size
                // @@@@@@@@@@@@@@@@  Set these to false, users are silly sometimes.
                getParty.setEnabled(false);
                partyNumField.setEnabled(false);
                continueOrder.setEnabled(true);
                dinerLabel.setEnabled(true);
                dinerName.setEnabled(true);
              } else { // ans == JOptionPane.NO_OPTION // user rejected party size
                // System.exit(0);   // handle rejection
                // @@@@@@@@@@@@@@@@  I suggest clearing the invalid answer
                // @@@@@@@@@@@@@@@@  and allowing them to try again.
                partyNumField.setText("");
                partyNum = 0;
            } else { // party size was less than 1 or over 50
              JOptionPane.showMessageDialog( getContentPane(),
                "Illegal Party Size !\nPlease try again.\n"+ // Say what went wrong...
                "Enter a number between 1 and 50.",   // ...and give them some advice.
                "Illegal Party Size",
                JOptionPane.OK_OPTION
              // System.exit(0);   // handle rejection
              // @@@@@@@@@@@@@@@@  I suggest clearing the invalid answer
              // @@@@@@@@@@@@@@@@  and allowing them to try again.
              partyNumField.setText("");
        }); // end Listener

  • Firefox stops responding and causes Windows to stop responding also

    Sorry if this is vague; I just wrote a very, very detailed post on my issues but then the site decided that I didn't have permission to post it and erased everything.
    My problem is that Firefox freezes and causes Windows to freeze for a while also. after a few minutes it goes away, but today I got the following error message:
    "AdapterDeviceID: 0x679a
    AdapterVendorID: 0x1002
    Add-ons: %7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:29.0.1,%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D:2.6.3
    AvailablePageFile: 8932384768
    AvailablePhysicalMemory: 7403167744
    AvailableVirtualMemory: 2997309440
    BIOS_Manufacturer: American Megatrends Inc.
    BlockedDllList:
    BreakpadReserveAddress: 48037888
    BreakpadReserveSize: 37748736
    BuildID: 20140506152807
    CrashTime: 1402766616
    EMCheckCompatibility: true
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536
    InstallTime: 1402339725
    Notes: AdapterVendorID: 0x1002, AdapterDeviceID: 0x679a, AdapterSubsysID: 6616103c, AdapterDriverVersion: 14.100.0.0
    D2D? D2D+ DWrite? DWrite+ D3D10 Layers? D3D10 Layers+
    ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
    ProductName: Firefox
    ReleaseChannel: release
    StartupTime: 1402758510
    SystemMemoryUsePercentage: 30
    Theme: classic/1.0
    Throttleable: 1
    TotalVirtualMemory: 4294836224
    URL: http://www.newegg.com/Product/Produc...D=3938566&amp;SID=
    Vendor: Mozilla
    Version: 29.0.1
    Winsock_LSP: MSAFD Tcpip [TCP/IP] : 2 : 1 :
    MSAFD Tcpip [UDP/IP] : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [RAW/IP] : 2 : 3 :
    MSAFD Tcpip [TCP/IPv6] : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [UDP/IPv6] : 2 : 2 :
    MSAFD Tcpip [RAW/IPv6] : 2 : 3 : %SystemRoot%\system32\mswsock.dll
    RSVP TCPv6 Service Provider : 2 : 1 :
    RSVP TCP Service Provider : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    RSVP UDPv6 Service Provider : 2 : 2 :
    RSVP UDP Service Provider : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    useragent_locale: en-US
    This report also contains technical information about the state of the application when it crashed."
    I noticed the file "mswsock.dll" mentioned so I looked for issues with it. Apparently there are issues with malware and Firefox and that file. I have scanned and it found nothing, plus this issue has existed in three formats of my drive and windows re-installs (for other reasons, I didn't format and re-install just to make sure there was no malware) so I'm pretty sure there are no problems with malware.
    I am running a Minecraft server and I have a static IP set up, but I've been doing this for three years without issues so I don't think that's the issue either.
    I have tried disabling all plugins. Still crashes and crashes Windows with it.
    I have run Memtest86+ and the windows memory tester. Not a memory issue.
    Here's my troubleshooter info: {
    "application": {
    "name": "Firefox",
    "version": "29.0.1",
    "userAgent": "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0",
    "supportURL": "https://support.mozilla.org/1/firefox/29.0.1/WINNT/en-US/"
    "crashes": {
    "submitted": [
    "id": "bp-588b7adc-28fd-43ab-bc02-91dda2140614",
    "date": 1402766691156,
    "pending": false
    "pending": 0
    "modifiedPreferences": {
    "accessibility.typeaheadfind.flashBar": 0,
    "browser.cache.disk.capacity": 358400,
    "browser.cache.disk.smart_size.first_run": false,
    "browser.cache.disk.smart_size.use_old_max": false,
    "browser.cache.disk.smart_size_cached_value": 358400,
    "browser.places.smartBookmarksVersion": 6,
    "browser.sessionstore.upgradeBackup.latestBuildID": "20140506152807",
    "browser.startup.homepage_override.mstone": "29.0.1",
    "browser.startup.homepage": "http://scratch.mit.edu/|http://lotro-wiki.com/|http://localhost:8080/",
    "browser.startup.homepage_override.buildID": "20140506152807",
    "browser.tabs.warnOnClose": false,
    "dom.mozApps.used": true,
    "extensions.lastAppVersion": "29.0.1",
    "font.internaluseonly.changed": true,
    "gfx.direct3d.last_used_feature_level_idx": 0,
    "network.cookie.prefsMigrated": true,
    "places.database.lastMaintenance": 1402771877,
    "places.history.expiration.transient_current_max_pages": 104858,
    "plugin.importedState": true,
    "plugin.disable_full_page_plugin_for_types": "application/pdf",
    "privacy.sanitize.migrateFx3Prefs": true,
    "storage.vacuum.last.places.sqlite": 1402344545,
    "storage.vacuum.last.index": 1
    "graphics": {
    "numTotalWindows": 1,
    "numAcceleratedWindows": 1,
    "windowLayerManagerType": "Direct3D 10",
    "windowLayerManagerRemote": false,
    "adapterDescription": "AMD Radeon HD 7900 Series",
    "adapterVendorID": "0x1002",
    "adapterDeviceID": "0x679a",
    "adapterRAM": "3072",
    "adapterDrivers": "aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64",
    "driverVersion": "14.100.0.0",
    "driverDate": "4-17-2014",
    "adapterDescription2": "",
    "adapterVendorID2": "",
    "adapterDeviceID2": "",
    "adapterRAM2": "",
    "adapterDrivers2": "",
    "driverVersion2": "",
    "driverDate2": "",
    "isGPU2Active": false,
    "direct2DEnabled": true,
    "directWriteEnabled": true,
    "directWriteVersion": "6.3.9600.17111",
    "webglRenderer": "Google Inc. -- ANGLE (AMD Radeon HD 7900 Series Direct3D9Ex vs_3_0 ps_3_0)",
    "info": {
    "AzureCanvasBackend": "direct2d",
    "AzureSkiaAccelerated": 0,
    "AzureFallbackCanvasBackend": "cairo",
    "AzureContentBackend": "direct2d"
    "javaScript": {
    "incrementalGCEnabled": true
    "accessibility": {
    "isActive": false,
    "forceDisabled": 0
    "libraryVersions": {
    "NSPR": {
    "minVersion": "4.10.3",
    "version": "4.10.3"
    "NSS": {
    "minVersion": "3.16 Basic ECC",
    "version": "3.16 Basic ECC"
    "NSSUTIL": {
    "minVersion": "3.16",
    "version": "3.16"
    "NSSSSL": {
    "minVersion": "3.16 Basic ECC",
    "version": "3.16 Basic ECC"
    "NSSSMIME": {
    "minVersion": "3.16 Basic ECC",
    "version": "3.16 Basic ECC"
    "userJS": {
    "exists": false
    "extensions": [
    "name": "Adblock Plus",
    "version": "2.6.3",
    "isActive": true,
    "id": "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}"
    "name": "Troubleshooter",
    "version": "1.1a",
    "isActive": true,
    "id": "[email protected]"
    Like I said before, sorry if this is vague. Let me know if you need more info and hopefully I'll be less impatient with this site then.
    I'm running Windows 8.1 64 bit. My full specs are here: https://pcpartpicker.com/b/FfJxFT (I've upgraded to Windows 8 and replaced the dead hard drive now. My new drives are a 120Gb Samsung 840 EVO and a 1TB Seagate Barracuda).
    Thanks.

    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''''' {web link}
    While you are in safe mode;
    Press the '''<Alt>''' or '''<F10>''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites and see if there is still a problem. Then restart

  • Can XDODTEXE produce BI Publisher output?

    Greetings,
    I have used BI Publisher to produce a report in Excel that outputs to multiple tabs in Excel xls when executed on the desktop. When I move the rtf Template file and xml Data Definition file to the server and use the XML Publisher Data Template Executable (XDODTEXE) produce to report it appears to produce Excel xlsx format and all tabs are lost.
    I would like to know if I convert my rtf template to an Excel template, can I execute it using the XML Publisher Data Template Executable to achieve a report with multiple tabs. Please advise.
    Thank for your advice.
    Tom

    Based on your reply, "true excel template based on ebs and publisher version and also publisher patches", if we have applied the Publisher patches, then XDODTEXE should be able to handle the report correctly?as i said
    based on ebs and publisher version and also publisher patchesand logic in your template
    it may be "correctly" or may be not. you can check it only then you create report
    i tested true excel template on ebs r12.1.2 and it works only for one group and for two group the result awful it duplicate and mix data
    IMHO true excel template very limited yet
    for
    The template tabs are generated dynamically. There may be 1 to 3 tabs.look at xsl-xml template
    it works on 11 and 12.1.x as well

Maybe you are looking for

  • Name is not taken in addres bar..

    Alerts URL is wrong if name of college is given,instead of searching as it would happen in previous versions..How to make so? Eg: if I give stanford it alerts. But previos versions used to search for stanford and displays the result..How to get that

  • After updating my mobile to 7.1 ,one layer of colour is moving in the screen

    After updating my iphone 5 (7to7.1) one layer of colour is moving in the screen ,plz correct it immediately

  • Burning CD's from itunes

    I've got itunes on a windows laptop but when I connect my nano I do not get the "burn CD" option that itunes manual claims is somewhere on the itunes screen. I have tried going into file but the "burn cd" setting is un-highlighted and cannot be selec

  • Can someone explain to me how this line of code works?

    My friend put in this code to my game script if CollisionDistance < 2 then else if "pMushroom" = string(collisionModel).char[8..16] then pInfo = member("Info")        pInfo.Text = "Press 'F' to consume Mushroom" else end if else     pInfo = member("I

  • Recover an entire folder with every recent file?

    Hi, Need to have an exact copy of a department drive from Friday. The other drive is intact so there is no "DR" scenario.  If I select the folder and choose show all recovery points, then select Friday. Does that Recover the entire folder with the mo