Help needed to extract a value from Textfield

Hi,
I am new to AWT prgramming .
I have created a menu called " Menu System Test window " and it contains toplevel menu item "File" and File Menu contains subitems "Product Evaluation" and "Exit".
When i click File->Product Evaluation it displays a new Frame named "ProductEvaluationMeasurementTool" with some check boxes ,radiobuttons, buttons , text fields.
After compiling the program if i check some check boxes and radiobuttons and press Button1 it displays the result as no of checkboxes checked divided by total no of checkboxes(which i have declared as 18 in my code) in textField1.
I also have textField2 for entering user input.
now my question is after compiling program i check some checkboxes , enter some value in textField2 and press Button2. The result should be diplayed as no of checkboxes checked plus the value added in textField2 divided by total no of checkboxes(which is 18 in my code) . This result should be displayed in textField3.
Can anyone help me?
Thanks in advance
i am sending my code.
import java.awt.*;
import java.awt.event.*;
import java.awt.Component;
import java.awt.Checkbox;
import javax.swing.*;
// Make a main window with a top-level menu: File
public class MainWindow extends Frame {
  public MainWindow() {
    super("Menu System Test Window");
    setSize(500, 500);
    // make a top level File menu
    FileMenu fileMenu = new FileMenu(this);
    // make a menu bar for this frame
    // and add top level menus File and Menu
    MenuBar mb = new MenuBar();
    mb.add(fileMenu);
    setMenuBar(mb);
    addWindowListener(new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
        exit();
  public void exit() {
    setVisible(false); // hide the Frame
    dispose(); // tell windowing system to free resources
    System.exit(0); // exit
  public static void main(String args[]) {
    MainWindow w = new MainWindow();
    w.setVisible(true);
// Encapsulate the look and behavior of the File menu
class FileMenu extends Menu implements ActionListener {
    private MainWindow mw; // who owns us?
  private MenuItem itmPE   = new MenuItem("ProductEvaluation");
  private MenuItem itmExit = new MenuItem("Exit");
  public FileMenu(MainWindow main)
    super("File");
    this.mw = main;
    this.itmPE.addActionListener(this);
    this.itmExit.addActionListener(this);
    this.add(this.itmPE);
    this.add(this.itmExit);
  // respond to the Exit menu choice
  public void actionPerformed(ActionEvent e)
    if (e.getSource() == this.itmPE)
     Frame f = new Frame("ProductMeasurementEvaluationTool");
     f.setSize(1290,1290);
     f.setLayout(null);
     TextField t1 = new TextField("textField1");
     t1.setBounds(230, 630, 50, 24);
     f.add(t1);
     TextField t2 = new TextField("textField2");
     t2.setBounds(430, 630, 50, 24);
     f.add(t2);
     TextField t3 = new TextField("textField3");
     t3.setBounds(630, 630, 50, 24);
     f.add(t3);
     Label l1 = new Label("Select the appropriate metrics for Measurement Process Evaluation");
     l1.setBounds(380, 50, 380, 20);
     f.add(l1);
     Label l2 = new Label("Architecture Metrics");
     l2.setBounds(170, 100, 110, 20);
     f.add(l2);
     Label l3 = new Label("RunTime Metrics");
     l3.setBounds(500, 100, 110, 20);
     f.add(l3);
     Label l4 = new Label("Documentation Metrics");
     l4.setBounds(840, 100, 130, 20);
     f.add(l4);
     JRadioButton rb1 = new JRadioButton("Componenent Metrics",false);
     rb1.setBounds(190, 140, 133, 20);
     f.add(rb1);
     JRadioButton rb2 = new JRadioButton("Task Metrics",false);
     rb2.setBounds(540, 140, 95, 20);
     f.add(rb2);
     JRadioButton rb3 = new JRadioButton("Manual Metrics",false);
     rb3.setBounds(870, 140, 108, 20);
     f.add(rb3);
     JRadioButton rb4 = new JRadioButton("Configuration Metrics",false);
     rb4.setBounds(190, 270, 142, 20);
     f.add(rb4);
     JRadioButton rb6 = new JRadioButton("DataHandling Metrics",false);
     rb6.setBounds(540, 270, 142, 20);
     f.add(rb6);
     JRadioButton rb8 = new JRadioButton("Development Metrics",false);
     rb8.setBounds(870, 270, 141, 20);
     f.add(rb8);
     Checkbox  c10 = new Checkbox("Size");
     c10.setBounds(220, 170, 49, 20);
     f.add(c10);
     Checkbox c11 = new Checkbox("Structure");
     c11.setBounds(220, 190, 75, 20);
     f.add(c11);
     Checkbox c12 = new Checkbox("Complexity");
     c12.setBounds(220, 210, 86, 20);
     f.add(c12);
     Checkbox c13 = new Checkbox("Size");
     c13.setBounds(220, 300, 49, 20);
     f.add(c13);
     Checkbox c14 = new Checkbox("Structure");
     c14.setBounds(220, 320, 75, 20);
     f.add(c14);
     Checkbox c15 = new Checkbox("Complexity");
     c15.setBounds(220, 340, 86, 20);
     f.add(c15);
     Checkbox c19 = new Checkbox("Size");
     c19.setBounds(580, 170, 49, 20);
     f.add(c19);
     Checkbox c20 = new Checkbox("Structure");
     c20.setBounds(580, 190, 75, 20);
     f.add(c20);
     Checkbox c21 = new Checkbox("Complexity");
     c21.setBounds(580, 210, 86, 20);
     f.add(c21);
     Checkbox c22 = new Checkbox("Size");
     c22.setBounds(580, 300, 49, 20);
     f.add(c22);
     Checkbox c23 = new Checkbox("Structure");
     c23.setBounds(580, 320, 75, 20);
     f.add(c23);
     Checkbox c24 = new Checkbox("Complexity");
     c24.setBounds(580, 340, 86, 20);
     f.add(c24);
     Checkbox c28 = new Checkbox("Size");
     c28.setBounds(920, 170, 49, 20);
     f.add(c28);
     Checkbox c29 = new Checkbox("Structure");
     c29.setBounds(920, 190, 75, 20);
     f.add(c29);
     Checkbox c30 = new Checkbox("Complexity");
     c30.setBounds(920, 210, 86, 20);
     f.add(c30);
     Checkbox c31 = new Checkbox("Size");
     c31.setBounds(920, 300, 49, 20);
     f.add(c31);
     Checkbox c32 = new Checkbox("Structure");
     c32.setBounds(920, 320, 75, 20);
     f.add(c32);
     Checkbox c33 = new Checkbox("Complexity");
     c33.setBounds(920, 340, 86, 20);
     f.add(c33);
     ActionListener action = new MyActionListener(f, t1, t2,t3);
     Button b1  = new Button("Button1");
     b1.setBounds(230, 600, 120, 24);
     b1.addActionListener(action);
     f.add(b1);
     Button b2  = new Button("Button2");
     b2.setBounds(430, 600, 120, 24);
     b2.addActionListener(action);
     f.add(b2);
           f.addWindowListener(new WindowAdapter() {
        public void windowClosing(WindowEvent e)
          System.exit(0);
     f.show();
    else
   { mw.exit();}
class MyActionListener implements ActionListener
  private Frame     frame;
  private TextField textField1;
  private TextField textField2;
  private TextField textField3;
  public MyActionListener(Frame frame, TextField tf1, TextField tf2,TextField tf3)
    this.frame = frame;
    this.textField1 = tf1;
    this.textField2 = tf2;
    this.textField3 = tf3;
  public void actionPerformed(ActionEvent e)
    String s = e.getActionCommand();
    if (s.equals("Button1"))
        Component[] components = this.frame.getComponents();
  int numOfCheckBoxes = 18;
  int numChecked = 0;
  for (int i = 0; i < components.length; i++)
        if (components[i] instanceof Checkbox)
          if (((Checkbox)components).getState())
numChecked++;
double ratio = (double) numChecked / (double) numOfCheckBoxes;
this.textField1.setText(Double.toString(ratio));
else
if (s.equals("Button2"))
Component[] components = this.frame.getComponents();
int numOfCheckBoxes = 18;
int numChecked = 0;
for (int i = 0; i < components.length; i++)
if (components[i] instanceof Checkbox)
if (((Checkbox)components[i]).getState())
numChecked++;
double ratio = (double) numChecked / (double) numOfCheckBoxes;
// I think some methods should be writen here to get the user input from textField2 before displaying ratio in textField3
this.textField3.setText(Double.toString(ratio));

            // The result should be diplayed as
            // no of checkboxes checked                 ->           numChecked
            // plus the value added in textField2       ->           input
            double input = Double.parseDouble(textField3.getText());
            // divided by total no of checkboxes       ->            numOfCheckBoxes
            double ratio = (numChecked + input) / (double) numOfCheckBoxes;
            // This result should be displayed in textField3
            this.textField2.setText(Double.toString(ratio));

Similar Messages

  • Help: need to extract an application from oracle/apex directory

    Hi, all!
    I worked on oracle10xe and apex 1.3.1 and then messed with partition table a bit so got my windows crashed and I don't believe i'll be able to restore it.
    so what i have is an oracle directory from the long-dead windows with apex inside, and i need to extract the applications and the data i was working with somehow.
    Any thoughts?
    Does anybody knows where does oracle store all its databases and where apex keeps its applications?
    oraclexe\oradata\xe\ has some .dbf files in it, will it work if i just write them over in a newly installed oracle+apex?

    Hello,
    At this point, since you can't turn to Oracle Support (since it is XE), then I would suggest asking amongst your colleagues/friends/etc and trying to find a friendly DBA who will try and help you out for a beer or 3.
    Depending on how critical your work was, I wouldn't throw away all hope of recovering your database until you've exhausted all the options.
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • HELP: Need To Extract Itunes Files From TM Backup ...

    Hi ... I have had Time Machine regularly backing up my hard drive. I just had a complete crap storm and had to wipe my hard drive and reinstall OSX. My question is ...
    How do I reinstall all of my iTunes media from the time machine backup (a sparsebundle file). I don't want to reinstall all of the other settings and files, just the iTunes files.
    Thanks in advance

    Never mind ... figured it out myself. Mounted the sparsebundle file by double-clicking it then navigated the "Latest" backup folder to the iTunes folder and dragged it to my desktop. Worked like a charm

  • Using WQL "one-liner" to extract a value from the registry

    Can I extract a value from the registry using a "one-liner" WQL command?  Something like the following:
    Under root\default:StdRegProv
                   SELECT <Data> FROM "HKLM:SOFTWARE\Toto\Version"
    Please note that I am aware of how this is done via script.  The problem is that I'm using a management system (SCOM), which only allows me to supply a simple WQL query to perform my evaluation.
    Thanks,
    Larry

    Hi Larry,
    There have a specific forum to support the scripting related question, i sugges you ask in Scripting forum there will have more
    professional engineer will help you.
    The Official Scripting Guys Forum!
    https://social.technet.microsoft.com/Forums/en-US/9d5a7990-b975-488a-b7c0-6d866f29cf0a/change-mouse-scheme?forum=ITCG
    Best Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Need to Extract the Data From "0BBP_TD_CONTR_2"

    Hi,
    I need to extract the data from SRM extractor "0BBP_TD_CONTR_2". I do not have much knowledge in SRM. Can any one give me the steps how can i check the extractor its not like R3. All kind of help will be appreciated.
    Thanks

    Never mind guys i figured it out. Thnaks

  • Help needed in Connecting to SAP From Eclipse

    Hi All,
    Currently, we have a requirement where we need to retrieve data from SAP System and need to upload the same in a Third Party Application (Java based system).
    We are able to create an account in Java Application using Eclipse IDE by hard coding the Account details. We are stuck up in establishing the SAP connection and retrieving the details and then creating the extracted account details in Java application from Eclipse.
    Any pointers on this will be of great help.
    Regards,
    Eureka

    Hi Eureka,
    Please refrain from creating cross-posts in parallel forums, moreover this question is JCo-related and is not directly connected with Java EE 5. The Help needed in Connecting to SAP From Eclipse in the Java Programming forum would be enough. Please continue the discussion there.
    Regards,
    Vladimir

  • Need to pass the value from UI

    Hi!!
    I am using jdeveloper 11.1.1.5
    I had dragged and dropped Three Input Text Boxes in my UI
    I need to pass the values from the UI to my AMImpl Methods
    i.e. In my AMImpl Methods
    vo2.setNamedWhereClauseParam("year",[af:ImputTextBox1]);
    vo2.setNamedWhereClauseParam("period",[af:ImputTextBox2]);
    vo2.setNamedWhereClauseParam("bu",[af:InputTextBox3]);
    vo2.executeQuery();

    The links given by Vinoth and jabr is very usefull for me!!
    Still i m receiving an while i clicked the button
    Cannot convert MEL of type class java.lang.String to class oracle.adf.view.rich.component.rich.input.RichInputText
    Cannot convert 201011 of type class java.lang.String to class oracle.adf.view.rich.component.rich.input.RichInputText
    Cannot convert 5 of type class java.lang.String to class oracle.adf.view.rich.component.rich.input.RichInputTextEdited by: wilhelm wundt on Dec 18, 2011 10:00 PM

  • I need to extract email addresses from my "Sent" folder, how can I do this?

    I have found a way to export addresses using the "export" option inside the address book-however, I need to extract the addresses from my Sent folder specifically. Is there a way to copy and paste into an Excel file? Or is there a way to do this through Thunderbird?

    Every contact you've sent a message to is automatically added to the Collected Addresses address book. One approach would be to create a new address book, then copy the desired contacts from Collected Addresses to that book by drag and drop, while holding the Ctrl key. Then, export the new address book to a csv (comma separated) file and open it in Excel.
    It's also possible to scan a folder for contacts and have them added to an address book:
    https://getsatisfaction.com/mozilla_messaging/topics/adding_email_address_from_folder_to_address_book#reply_10378723

  • Need help Take out the null values from the ResultSet and Create a XML file

    hi,
    I wrote something which connects to Database and gets the ResultSet. From that ResultSet I am creating
    a XML file. IN my program these are the main two classes Frame1 and ResultSetToXML. ResultSetToXML which
    takes ResultSet & Boolean value in its constructor. I am passing the ResultSet and Boolean value
    from Frame1 class. I am passing the boolean value to get the null values from the ResultSet and then add those
    null values to XML File. When i run the program it works alright and adds the null and not null values to
    the file. But when i pass the boolean value to take out the null values it would not take it out and adds
    the null and not null values.
    Please look at the code i am posing. I am showing step by step where its not adding the null values.
    Any help is always appreciated.
    Thanks in advance.
    ============================================================================
    Frame1 Class
    ============
    public class Frame1 extends JFrame{
    private JPanel contentPane;
    private XQuery xQuery1 = new XQuery();
    private XYLayout xYLayout1 = new XYLayout();
    public Document doc;
    private JButton jButton2 = new JButton();
    private Connection con;
    private Statement stmt;
    private ResultSetToXML rstx;
    //Construct the frame
    public Frame1() {
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    //setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
    contentPane = (JPanel) this.getContentPane();
    xQuery1.setSql("");
    xQuery1.setUrl("jdbc:odbc:SCANODBC");
    xQuery1.setUserName("SYSDBA");
    xQuery1.setPassword("masterkey");
    xQuery1.setDriver("sun.jdbc.odbc.JdbcOdbcDriver");
    contentPane.setLayout(xYLayout1);
    this.setSize(new Dimension(400, 300));
    this.setTitle("Frame Title");
    xQuery1.setSql("Select * from Pinfo where pid=2 or pid=4");
    jButton2.setText("Get XML from DB");
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(java.lang.ClassNotFoundException ex) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(ex.getMessage());
    try {
    con = DriverManager.getConnection("jdbc:odbc:SCANODBC","SYSDBA", "masterkey");
    stmt = con.createStatement();
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    jButton2.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton2_actionPerformed(e);
    contentPane.add(jButton2, new XYConstraints(126, 113, -1, -1));
    //Overridden so we can exit when window is closed
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    void jButton2_actionPerformed(ActionEvent e) {
    try{
    OutputStream out;
    XMLOutputter outputter;
    Element root;
    org.jdom.Document doc;
    root = new Element("PINFO");
    String query = "SELECT * FROM PINFO WHERE PID=2 OR PID=4";
    ResultSet rs = stmt.executeQuery(query);
    /*===========This is where i am passing the ResultSet and boolean=======
    ===========value to either add the null or not null values in the file======*/
    rstx = new ResultSetToXML(rs,true);
    } //end of try
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    ======================================================================================
    ResultSetToXML class
    ====================
    public class ResultSetToXML {
    private OutputStream out;
    private Element root;
    private XMLOutputter outputter;
    private Document doc;
    // Constructor
    public ResultSetToXML(ResultSet rs, boolean checkifnull){
    try{
    String tagname="";
    String tagvalue="";
    root = new Element("pinfo");
    while (rs.next()){
    Element users = new Element("Record");
    for(int i=1;i<=rs.getMetaData().getColumnCount(); ++i){
    tagname= rs.getMetaData().getColumnName(i);
    tagvalue=rs.getString(i);
    System.out.println(tagname);
    System.out.println(tagvalue);
    /*============if the boolean value is false it adds the null and not
    null value to the file =====================*/
    /*============else it checks if the value is null or the length is
    less than 0 and does the else clause in the if(checkifnull)===*/
    if(checkifnull){ 
    if((tagvalue == null) || tagvalue.length() < 0 ){
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    root.addContent(users);
    out=new FileOutputStream("c:/XMLFile.xml");
    doc = new Document(root);
    outputter = new XMLOutputter();
    outputter.output(doc,out);
    catch(IOException ioe){
    System.out.println(ioe);
    catch(SQLException sqle){

    Can someone please help me with this problem
    Thanks.

  • Help needed in  extracting data from PCD tables

    Hi Friends
    I Have a requiremnt for creating custom portal activity report ,even though
    we have  standard report, the extraced data will be used to create bw reports later.
    my part is to find a way to extract the data from PCD tables for creating
    custom portal activity reports
    i have selected the following  tables for the data extraction
    WCR_USERSTAT,WCR_WEBCONTENTSTAT,WCR_USERFIRSTLOGON,
    WCR_USERPAGEUSAGE.
    My questions are
    1.Did i select the Exact PCD tables?
    2.Can i use UME api  for  accessing the data from those tables?
    3.can i use  the data extracted  from PCD tables in JSPdynpage  or
    webdynpro apps?
    4.can i Querry  the  PCD tables from  JSPDynpage or Webdynpro
    Please help me in finding a solution for this
    Thanks
    Ashok Battula

    Hi daniel
    Can u tell  me weather i can develop the following  custom reports from those WCR tables
         Report Type
    1     Logins
          - Unique Count
          - Total Count
          - Most Active Users (by Partner Name)
          - Most Active Users (by Contact Name)
          - Entry Point (by page name)
          - Session Time
          - Hourly Traffic Analysis
    2     Login Failures
          - Total Count
          - Count by error message
          - Credentials Entered (by user name and password)
    3     Content Views (by File Name)
          - Unique Count
          - Total Count
          - Most requested Files
          - Most requested Pages
          - File Not Found
    4     Downloads (by File Name)
          - Unique Count
          - Total Count
          - Most requested Files
          - File Not Found
    5     Portal Administration
          - Site Content (by file name)
          - Site Content (by page name)
          - Latest Content (by file name)
          - Expired Content (by file name)
          - Subscriptions Count (by file name)
    6     Login History (by Partner, Contact Name)
          - No Login
          - First Login
          - Duration between registration and first login
          - Most Recent Login
          - Average Number of Logins
    plz  help me in find ing a way
    thanks
    ashok

  • Extracting all values from multiple menus

    Hello all,
    Basically I have a jsp that consists of three of what FrontPage calls drop down boxes but I will hereafter call list boxes, each containing a number of options extracted from a database; these values can be moved from one box to another using java script. When I hit a submit button I wish to be able to extract all the values from two of these lists and add them into a database. I know how to extract selected values but I need all the values of both lists regardless of what the user selects and I need the contents of each kept distinct.
    Any help provided will be appreciated and I apologize if this question is something all the forum vets have already seen before.
    Philip

    Only the values that are selected will be submitted
    with the form. So, add a call to your form tag's
    onSubmit event to call a function like this:<form name='myForm' onsubmit='selectAll()'>
    <script language='javascript'>
    function selectAll() {
    for(i=0; i<myForm.mySelectList.options.length; i++)
    myForm.mySelectList.options.selected = true;
    // do the same for the other two select lists
    </script>
    Thanks for the tip, but unfortunately this means that the two list boxes that I want will become intermingled. Is there a way to keep the information in the two lists seperate?
    Philip                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Extract y value from graph at any given time

    I have a graph with a pre-plotted curve generated from a standard set of results. I need to extract the y value of the curve at any given point. My y value is pressure and my x value is stroke(hydraulic cylinder movement in mm). So for example at 10mm(x value) I need to extract the pressure(y value). Is there a property node I could use for this? any help would be much appreciated.

    Hi Alan,
    instead of reading values from the graph you may use the interpolation functions from the array palette to do interpolation on the plotted values directly...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Help needed in understanding conversion alghorithm from byte to hex

    Hi, I'm studying the following code:
    public static char[] byteToHex(byte[] data) {
      char[] retValue = new char[data.length * 2];
      int value = 0;
      int highIndex = 0;
      int lowIndex = 0;
      for (int i = 0; i < retValue.length; i++) {
        value = (data[i] + 256) % 256;
        highIndex = value >> 4;
        lowIndex = value & 0x0f;
        retValue[i * 2 + 0] = hexTable[highIndex];
        retValue[i * 2 + 1] = hexTable[lowIndex];
      return retValue;
    }There are few things (the most important) which I don't understand about the above code.
    I understood that what's returned has got double size related to what's passed in because a char takes 16 bits while a byte takes 8.
    1) I don't understand why each byte must be first added 256 and then % with 256 (returning the same value - Is this to eliminate negative values?)
    2) I do understand that each byte is transformed in two hexadecimal values: one is the highIndex (first 8 bits) and the second is the lowerIndex (last 8 bits) and that each value is tranformed in its hexadecimal value from the array of hex values.
    3) What I don't really understand is why the highIndex is calculated as: value >> 4
    and the lowest index is calculated as value 0x0f (is this last also to eliminate negative values?)
    If someone could clarify this for me, I'd be very grateful.
    Thanks.
    Marco

    So, does this mean that we add 256 to eliminate the sign?No. You need the whole line to convert a signed byte into an int between 0 and 255.
    A simpler way to do this would be
    value = data[i] & 0xFF;
    This moves down the higher bits so that it turnsinto lower bits. i.e. we need it to >be between 0 and
    15.
    Is this shifted of 4 because Math.pow(2, 4) = 16.0?Doing in this case, x >>4 is the same as x / 16
    This leaves only the lowest 4 bits.Is the following what happens?There are no char values produced. Using 0000 as an example is not a good idea as you can change it in many ways and it is still 0000
    >
    Received as initial value:
    byte: 0000 0000
    What we need to obtain:
    char: 0000 0000 0000 0000
    The first 4 bits of the above byte are shifted of 4
    positions to find the hexadecimal equivalent (if from
    2 I want to get to 16 I have to do the opposite of
    powering a number by 4); The last four bits of the
    byte are extracted because of the '&' operator with
    0x0f (which in binary is 1111 - Therefore all the '1'
    are kept)?Yes.

  • Help needed to report open orders from R/3 SD!

    Hello all,
    I need to report net open order value from SAP R/3 SD to BW. I'm using cube 0SD_C05 to report inquiry vs. quotation vs. orders. Is there any standard ods object in business content which can be used to report open orders? If not, will it be a good idea to create a ODS object and use it directly for reporting open orders? This BW installation is for a small IT company and we don't generate a lot of quotations or orders on a daily basis. Please guide.
    Thanks and Regards,
    Sumit

    hi Sumit,
    check if you can use 0SD_O01 - order item data
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/2b4f815f153014e10000000a114e5d/content.htm
    other business content ods objects are 0sd_o02-05.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0b/f5cc3c7dea9006e10000000a114084/frameset.htm
    (expand left side 'ods')
    hope this helps.

  • Extracting unique values from (non-category) columns for chart

    Hello:
    I've created a worksheet to keep inventory of my Intellivision games.  It has the following columns:
    Publisher
    Class
    Network
    Title
    Quantity
    (misc...)
    The "Class" represents whether the game is "complete in box" or "loose cartridge."  The "Network" represents the general genre or game cateogory.  The quantity is how much I have of each.
    I have set the first three columns as categories:  Publisher, Class, and Network.  I also created a bar chart based on the Title and Quantity columns, to show how many I have of each.
    The problem I have is that, although it looks real cool and helps me keep the games organized, since a title can appear in more than one "Class" (e.g., I can have one in box, and two loose), the chart includes duplicates, and they are not grouped together.
    Is there a way that I can create a graph (or a secondary table) that exctracts only the UNIQUE values from a column that may contain duplicates?
    Note that I don't want to put the "Title" column in a category.  I want to group by the three major categories and list the games on each.
         -dZ.

    From the Numbers Help Menu, download the Numbers User Guide. Read the first three or four chapters to get a feel for the app. It's well written and won't take long to read that much.
    Then use the Table of Contents and the Search tool to get additional specific directions.
    First, delete all unneeded Rows and Columns from your data table. If you have patches of data in a larger table, Cut the patches and Paste them to a blank Sheet area to create separate dedicated tables for your various needs. These small special purpose tables are like Named Ranges in Excel. Name them in the Sheets Pane.
    This is how Numbers was intended to be used. The User Guide will describe how to reference cells in one table from expressions in another table. If you use the point and click method of creating references from within the equation editor it won't matter a bit that the tables are separate.
    Come back here for specific help on anything you are having trouble with.
    Jerry

Maybe you are looking for

  • Answer: to How can I get the reset button to work.

    How can I get the reset button to work?: Answer Thanks to everyone who helped on this. You are awesome. Especially Ned!!  Posted here because I was unable to add more to the existing post. Here is the question: When you click on the reset button, thi

  • How to make a java class act as an cache

    Imagine i have a simple java class which establishes a connection to a DB and has a getter method which returns this DBConnection Now i want this class to be loaded forever in jvm, i mean, once it starts and establishes connection it remains loaded ,

  • Hide preferences button in LaunchPad BO4

    I need to hide the preferences button in launchpad for BO4.  Noticed that in BO3, I can hide it thru CMC/Applications/Infoview. but in Bo4, can find it.  Thanks.

  • Multidimensional array and chars

    Hi again, My apologies in advance if i can't word my question that well, i will try and be as clear and succinct as possible and hopefully for this newbie you can apprehend what i'm trying to figure out if i come up short. I'm trying to write a rathe

  • My iPad is disabled Can anyone help???

    Ipad asks for 4 digit number to open.Inever was asked for number whenupgrading to Ios7.Ipad then disabled.Can someone PLEASE help?