Do you know what is wrong at this?

import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
* beschrijving
* @version 1.0 van 21-11-2007
* @author
public class LeeftijdcategorieApplet extends Applet {
// Begin variabelen
private TextField leeftijdVeld = new TextField();
private Label leeftijdLabel = new Label();
private Button categorieKnop = new Button();
private Label categorieLabel = new Label();
// Einde variabelen
public void init() {
Panel cp = new Panel(null);
cp.setBounds(0, 0, 300, 300);
add(cp);
// Begin componenten
leeftijdVeld.setBounds(120, 48, 153, 40);
leeftijdVeld.setText("");
cp.add(leeftijdVeld);
leeftijdLabel.setBounds(0, 56, 106, 16);
leeftijdLabel.setText("Voer de leeftijd in:");
leeftijdLabel.setFont(new Font("MS Sans Serif", Font.PLAIN, 13));
cp.add(leeftijdLabel);
categorieKnop.setBounds(120, 104, 153, 49);
categorieKnop.setLabel("Bepaal Categorie");
cp.add(categorieKnop);
categorieKnop.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
categorieKnopActionPerformed(evt);
categorieLabel.setBounds(80, 208, 93, 16);
categorieLabel.setText(" ");
categorieLabel.setFont(new Font("MS Sans Serif", Font.PLAIN, 13));
cp.add(categorieLabel);
// Einde componenten
// Begin eventmethoden
public void categorieKnopActionPerformed(ActionEvent evt) {
String leeftijd = leeftijdVeld.getText();
int leeftijd = Integer.parseInt(leeftijd);
if (leeftijd < 6){
categorieLabel.setText("Geen Categorie");
}else if(leeftijd == 6){
categorieLabel.setText("Categorie F1");
}else if(leeftijd == 7){
categorieLabel.setText("Categorie F2");
}else if(leeftijd == 8){
categorieLabel.setText("Categorie E1");
}else if(leeftijd == 9){
categorieLabel.setText("Categorie E2");
}else if(leeftijd == 10){
categorieLabel.setText("Categorie D8");
}else if(leeftijd == 11){
categorieLabel.setText("Categorie D");
}else if(leeftijd == 12/13){
categorieLabel.setText("Categorie C");
}else if(leeftijd == 14/15){
categorieLabel.setText("Categorie B");
}else if(leeftijd == 16/17){
categorieLabel.setText("Categorie A");
}else if(leeftijd > 17){
categorieLabel.setText("Categorie Senioren");
// Einde eventmethoden
}

import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
  * beschrijving
  * @version 1.0 van 21-11-2007
  * @author  2 jongens? Toch?
public class LeeftijdcategorieApplet extends Applet {
  // Begin variabelen
  private TextField leeftijdVeld = new TextField();
  private Label leeftijdLabel = new Label();
  private Button categorieKnop = new Button();
  private Label categorieLabel = new Label();
  // Einde variabelen
  public void init() {
    Panel cp = new Panel(null);
    cp.setBounds(0, 0, 300, 300);
    add(cp);
    // Begin componenten
    leeftijdVeld.setBounds(120, 48, 153, 40);
    leeftijdVeld.setText("");
    cp.add(leeftijdVeld);
    leeftijdLabel.setBounds(0, 56, 106, 16);
    leeftijdLabel.setText("Voer de leeftijd in:");
    leeftijdLabel.setFont(new Font("MS Sans Serif", Font.PLAIN, 13));
    cp.add(leeftijdLabel);
    categorieKnop.setBounds(120, 104, 153, 49);
    categorieKnop.setLabel("Bepaal Categorie");
    cp.add(categorieKnop);
    categorieKnop.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent evt) {
        categorieKnopActionPerformed(evt);
    categorieLabel.setBounds(80, 208, 93, 16);
    categorieLabel.setText("                               ");
    categorieLabel.setFont(new Font("MS Sans Serif", Font.PLAIN, 13));
    cp.add(categorieLabel);
    // Einde componenten
  // Begin eventmethoden
  public void categorieKnopActionPerformed(ActionEvent evt) {
    String leeftijdveld = leeftijdVeld.getText();
     int leeftijd = Integer.parseInt(leeftijd);
  if (leeftijd < 6){
    categorieLabel.setText("Geen Categorie");
  }else if(leeftijd == 6){
    categorieLabel.setText("Categorie F1");
  }else if(leeftijd == 7){
    categorieLabel.setText("Categorie F2");
  }else if(leeftijd == 8){
    categorieLabel.setText("Categorie E1");
  }else if(leeftijd == 9){
    categorieLabel.setText("Categorie E2");
  }else if(leeftijd == 10){
    categorieLabel.setText("Categorie D8");
  }else if(leeftijd == 11){
    categorieLabel.setText("Categorie D");
  }else if(leeftijd == 12/13){
    categorieLabel.setText("Categorie C");
  }else if(leeftijd == 14/15){
    categorieLabel.setText("Categorie B");
  }else if(leeftijd == 16/17){
    categorieLabel.setText("Categorie A");
  }else if(leeftijd > 17){
    categorieLabel.setText("Categorie Senioren");
  // Einde eventmethoden
}This is when I gave the String another name

Similar Messages

  • My macbook pro freezes and then displays a blue screen with black stripes... do you know what's wrong with it?

    My macbook pro freezes and then displays a blue screen with black stripes... do you know what's wrong with it?
    I have a two and half year mac book pro... I've had some issues with the screen looking scrambled when I quit certain applications, but now it's turned into something worse.  I'll be working on my computer and the thing will freeze.  When I force restart, the first screen, the apple logo, will be a blue tint and won't boot up normally.  Then I try safe mood and it will then boot just fine.  But there are blue stripes on my screen.  The screen alternates from a blue tint to normal and if the computer freezes again the screen will become completely blue with black stripes.  I haven't tried reinstalling my software because I don't have the startup discs that came with my computer.  If I was sure that would fix it I would purchase them, but if it's a hardware issue I'm afraid that I'm screwed.  I've been able to successfully get the blue off my screen by putting it to sleep and then waking it up, but that's not working well anymore either. 
    Does anyone else have experience with this?  Is it the firmware or what?  I have a MacBook Pro from early 2011 and I'm running Mac OS X 10.6.8.
    Please help... Thanks!

    I just experienced this exact same issue with my early 2011 15" macbook pro. Since like a month after purchasing it I had issues with the screen randomly going dark on me. I sent it in for repair inder waranty they replaced the gpu and logic board but I continued to have the same issues with the screen randomly going black sometimes I would need to reboot it in order to get the screen to go back on but it happened so infrequently and I used the computer for school so disnt find the time to resend it in to apple. Just last night the screen started to display the blue screen with black verticle lines on it. I called apple and explained to them  the issues that had been ongoing since I purchased the laptop but they said because I was now outside of warantee that any repairs at thia point wouldn't be covered. Fml so glad I spent 2200 on this future proof macbook pro what a joke my sister purchased a toshiba laptop for 300 4 years ago and it still running like a champ. I loved my macbook but at the price I paid I expect it to last longer than 2 years before leaving me high and dry. *** apple??

  • Hello, I have a question regarding the sharing/exporting on imovie. Whenever I click the share button all the normal options pop up, but when I actually click where I want to share it to nothing happens.  If you know what's wrong please let me know.

    Hello,  I have a question regarding the sharing on iMovie.  I have just recently purchased an Elgato Gaming Capture HD and I then finished my recording with that and put it into imovie.  I worked long and hard on the project and when I go click the share feature on iMovie all the noral options pop up and when I actually click where I want to share it to nothing at all happens.  If you know what is wrong/ what I am doing wrong please let me know.
    Thank you.
    PS:  I am using iMovie 10.0.6.

    /*line 957 error */
         public void select()
              for (count = 0; count <= p; count ++ )
                   if(P[count] != null){ /* validation */
                   m = (int)(P[count].getX());
                   n = (int)(P[count].getY());
                   if (Math.pow(-1, m + n) == 1)
                        piece[m][n].setBackground(wselect);
                   else
                        piece[m][n].setBackground(bselect);
              step = 2;
         }

  • Pictrivia 6 - Can you identify what's wrong with this setup?

    What's Pictrivia?
    It's a trivia presented as a picture - more picture, less words. If you love  solving puzzles, racking your brains on brain teasers,you would love this one.
    Who can participate?
    It's open to all. You can participate on Facebook, Twitter or here. If you are subscribed to our Facebook or Twitter channels, you'll see the message posted on early Saturday mornings  pacific time.
    How often will you post a trivia?
    Once a week on Fridays.
    How do I answer?
    You  can answer by replying to this discussion. If you saw the post on our  Facebook page or Twitter, simply comment on the post or reply to our  tweet.
    What do I get?
    Intellectual stimulation, thrill and pleasure of solving a puzzle!
    What's the skill level required?
    Beginners
    When will I know the right answer?
    On the following Wednesday.

    Access layer switch will became bridge root。(default priority,lowest MAC address 1111.1111.1111)。And this L2 network will working at low efficiency。

  • HT204347 my computer is not updating new software or down load new Itune, do you know what maybe wrong with it?

    Good evening, I'm Majhok Ee Chaw. My computer has problems, I can not longer upload my files using pdf, adobe, and update new software apps. it has been a week now doing this, I know what is going with it, so would please be kind to help. Thanks, Majhok.

    Majhok,
    Try running this update:
    http://support.apple.com/kb/DL1640
    Set Safari to download to your desktop and downloading, then running the installer.
    To set for downloading to the desktop, open Safari>Safari preferences>Save downloaded files to: click this than other, select desktop from the sidebar on the left.
    Hope this helps.
    SJP

  • I am trying to download an app on my iphone and when it asks me to sign in to my account i get a message "Could not sign in. An unknown error has occurred." Do any of you know what is wrong?

    I am trying to download an app from Itunes on my Iphone and i keep getting a message saying " Could not sign in. An Unknown error has occurred." Does anyone know why i'm getting this message? I have had the same password for years so that is not why...

    The RC helicopter's directions say its available in the App store for Apple and here it is in the iTunes store:
    https://itunes.apple.com/us/app/icess/id558793179?mt=8 (released on 6/19/2013)
    How do I get this to show up on my iPad and/or iPod touch app stores so I can then download and install it as needed?

  • Can i know what is wrong with this sql?

    i have an error of invalid character.
    SELECT SUM(counter),TO_DATE(logdatetime)
    FROM NYP_LIBPORTAL.PORTAL_HOME_NON_LOGIN_LOG
    WHERE logdatetime = logdatetime
    AND (TO_DATE(logdatetime, 'DD-MON-YYYY') BETWEEN
    TO_DATE('01-JAN-2007', 'DD-MON-YYYY') AND TO_DATE('31-JAN-2007', 'DD-MON-YYYY'))
    GROUP BY TO_DATE (logdatetime);
    May i know is there any way that i need to make the changes?

    your problem is likely to be the TO_DATE(logdatetime) - if logdatetime is a DATE datatype, then you should never, ever use TO_DATE on it.
    But I suspect this has been sorted in a later post of yours?

  • My yahoo toolbar add in disappears each time I open firefox, requiring me to install the tool bar with each session. Would you know what might be causing this?

    I have always used the yahoo toolbar to store my bookmarks. I recently had my computer serviced for an network problem I was experiencing, and since its return to to I have found that I must install the yahoo toolbar each time I open firefox. The toolbar does not stay for subsequent sessions like it had in the past. Is there a setting or problem that may be causing this?

    You can check for recently installed suspicious or unknown extensions.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Does any one know what is wrong with this servlet code

    package com.bt.ros;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import javax.sql.*;
    import javax.naming.InitialContext;
    import javax.naming.Context;
    import javax.naming.NamingException;
    * This class is a servlet that searches for a Finder Aid.
    * @author
    public class FinderAidsSearchS extends HttpServlet {
       * This is the static initializer,
       * executed the first time this class is referred to.
       * It makes sure the JDBC pool driver is loaded.
       * This method examines an HTTP request and searches for the
       * specified Finder Aid record in the database. It then redirects
       * the response to the <tt>Results.jsp</tt> JSP page.
      public void service(HttpServletRequest req, HttpServletResponse res)
           throws IOException
        HttpSession session = req.getSession(true);
    //res.setContentType("text/html");
    //PrintWriter out = res.getWriter( );
    //out.println("<HTML>");
    //out.println("<HEAD>");
    //out.println("<TITLE>");
    //out.println("A Servlet Example");
        String year   = req.getParameter("Year");
        String year_range      = req.getParameter("Year_Range");
        String county          = req.getParameter("County");
        Connection conn = null;
        try {
    //example code from tomcatmanual
    Context initContext = new InitialContext();
    Context envContext  = (Context)initContext.lookup("java:/comp/env");
    DataSource ds = (DataSource)envContext.lookup("jdbc/rosDS");
    //Connection
    conn = ds.getConnection();
              Statement stmt = conn.createStatement();
          String select = "select * from abridgment where " +
                          "(a_county = '" + county +
                          "' AND a_year_date = " + year +
    out.println("<DEBUG> <select> the select staement is : " + select);
          stmt.execute(select);
          ResultSet resultSet = stmt.getResultSet();
         Results abridgeresults = new Results();
         abridgeresults.setName("NaeemColl");
         Abridgment varabridgment = null;
          int nRows = 0;
          while(resultSet.next()){
            nRows++;
               varabridgment = new Abridgment();
           varabridgment.seta_county(county);
          varabridgment.seta_year_date(Integer.parseInt(year));
            varabridgment.seta_sub_year_volume(resultSet.getInt("a_sub_year_volume"));
           // out.println("varabridgment - attributes are:");
              //out.println("varabridgment - attributes are:" +varabridgment.geta_sub_year_volume());
              //out.println("varabridgment - attributes are:"+resultSet.getInt("a_sub_year_volume"));
              varabridgment.seta_page_id(resultSet.getString("a_page_id"));
            varabridgment.seta_month_date(resultSet.getInt("a_month_date"));
            varabridgment.seta_day_date(resultSet.getInt("a_day_date"));
            varabridgment.seta_year_sequence(resultSet.getLong("a_year_sequence"));
            varabridgment.seta_day_sequence(resultSet.getLong("a_day_sequence"));
            varabridgment.seta_year_volume(resultSet.getInt("a_year_volume"));
            varabridgment.seta_volume_id(resultSet.getString("a_volume_id"));
            varabridgment.seta_summary(resultSet.getString("a_summary"));
            varabridgment.seta_batch_id(resultSet.getLong("a_batch_id"));
            varabridgment.seta_image_id(resultSet.getLong("a_image_id"));
              abridgeresults.addAbridgment(varabridgment);
              //trying to use vector construct
          req.setAttribute("results",abridgeresults);
          //session.setAttribute("results", abridgeresults);
          stmt.close();
          conn.close();
    //out.println("</BODY>");
    //out.println("</HTML>");
    //      String sURL = res.encodeRedirectURL("/rossearch/results.jsp");
            try{
    //TEMPCOMM        res.sendRedirect(sURL);
    req.getRequestDispatcher("/rossearch/results.jsp").forward(req, res);
    //TEMPCODE
    //out.println("</BODY>");
    //out.println("</HTML>");
          catch(Exception e){
            System.err.println("Exception: FinderAidsSearchS.service: " + e);
        catch (Exception e) {
          System.err.println("Exception: FinderAidsSearchS.service: " + e);
    }i really need some assistance at the following areas of code :
    where the database results are set to attributes of one bean varabridgment (Type Abridgement) - the declaration and use of this bean.
    and where this bean is then added to another bean abridgeresults (Type Results) as a List collection.
    i get a null pointer exception when i try to retrieve the List from abridgeresults object of Type Results Bean.
    i would really appreciate some assistance in this - i really need to go to sleep now - but cant until i solve this issue. - thanks all in advance.

    below is exception outputed to tomcat log file.
    it is thrown at the following line of code in the jsp that tries to get the List object :
    currently jsp code to retrieve List: <% List myAbridgments = (List) request.getAttribute("results");
    for (int i = 0; i < myAbridgments.size(); i++) {
    abridgment = (Abridgment) myAbridgments.get(i);
    %>
    line that gives problem is
    (results_jsp.java:95)
    //myAbridgments - is variable where i store the List object in jsp scriptlet
    for (int i = 0; i < myAbridgments.size(); i++) {
    Also, i dont understand why the servlet keeps on forwarding to the results.jsp when i even comment out the line of code to forward request oobject to results.jsp - i recompile copy it over original and restart tomcat - but still i get the null pointer exception in results_jsp - but i'm no longer forwarding anything to this jsp. --- i want to do some out.printline statemets in servelt to see some of the data from the query - but i cant as it just forwrads the request to results.jsp - how can i output the data to look at debug - i dont have a log4j logger setup and dont have IDE to be able to place break points - so wanted to just output stuff to browser to have a look at what was going on - but can't as just forwards request on ?
    Exception ....
    2005-11-07 02:45:20 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
    ----- Root Cause -----
    java.lang.NullPointerException
         at org.apache.jsp.results_jsp._jspService(results_jsp.java:95)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)

  • Can someone tell me what's wrong with this LOV query please?

    This query works fine..
    select FILTER_NAME display_value, FILTER_ID return_value
    from OTMGUI_FILTER where username = 'ADAM'
    But this one..
    select FILTER_NAME display_value, FILTER_ID return_value
    from OTMGUI_FILTER where username = apex_application.g_user
    Gives the following error.
    1 error has occurred
    * LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.
    Thanks very much,
    -Adam vonNieda

    Ya know, I still don't know what's wrong with this.
    declare
    l_val varchar2(100) := nvl(apex_application.g_user,'ADAM');
    begin
    return 'select filter_name display_value, filter_id return_value
    from otmgui_filter where username = '''|| l_val || '''';
    end;
    Gets the same error as above. All I'm trying to do is create a dropdown LOV which selects based on the apex_application.g_user.
    What am I missing here?
    Thanks,
    -Adam

  • HT3743 Every time I open the app injustice my iPod gives me a message that says: " Warning, this device is not officially supported. You may experience low performance and instability." I have never jail broken my iPod and I don't know what's wrong. Ideas

    Every time I open the app injustice my iPod gives me a message that says: " Warning, this device is not officially supported. You may experience low performance and instability." I have never jail broken my iPod and I don't know what's wrong. Ideas?

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • Why would it state under the "more about this mac" that i already have10.8.3 and then in the app store say i need to "resume" do you know what i mean? is it possible i already did download mountain lion entirely once? I am confused and don't want it twice

    why would it state under the "more about this mac" that i already have10.8.3 and then in the app store say i need to "resume" do you know what i mean? is it possible i already did download mountain lion entirely once? I am confused and don't want it twice

    This is cause by the way the App Store checks to see if an application is installed on your system.
    Basically when an app is installed it is in the Applications folder and this is where the MAS looks for them. So it looks at your purchase history for the apps you bought and looks in the Applications folder to see if they are installed. If an app is in your purchase history but not in the Applications folder the MAS says you need to install it.
    For normal apps this works fine but the OS doesn;t install into the Applications folder. So the MAS sees you have Mountain Lion in your purchase history but it's not in the Applications folder and so it says you need to download it.
    Hopefully one of these days Apple wil fix this.
    regards

  • I keep getting redirected to this website whenever I enter in my payment info. I've tried different payment methods, nothing seems to work. I don't know what to do at this point. Anyone know what is wrong?

    I keep getting redirected to this website whenever I enter in my payment info. I've tried different payment methods, nothing seems to work. I don't know what to do at this point. Anyone know what is wrong?

    iTunes Store: Changing your payment information
    http://support.apple.com/kb/ht1918
    iTunes Store Accepted Forms of Payment
    http://support.apple.com/kb/HT5552
     Cheers, Tom

  • I would like to use my work exchange email on my macbook pro.  But I cannot insult it.  I have not problem as on my iPhone or iPad.  My work IT person does not know what is wrong.

    I would like to use my work exchange email on my macbook pro.  But I cannot install it.  I have no problem my work email on my iPhone or iPad.  My work IT person does not know what is wrong.  Why I try to set up the email I get the message that it cannot connect to this server. 

    Try going into System Prefereces then Mail, Cintacts & Calendars then click on the Microsoft Exchange link on the right. Type in your email address and password and allow it to set it up automatically.
    Make sure your Mac is updated to the newest version of Mail.
    If that still fails then I suggest you switch email clients. I don't care for the built in mail program. IMHO it is very buggy.

  • My macbook pro has been shutting off on its own. The power cord "shuts off" (does not work) simultaneously. Does anyone know what is wrong? or what could be the problem?

    My macbook pro has been shutting off on its own. The power cord "shuts off" (does not work) simultaneously. Does anyone know what is wrong? or what could be the problem?
    When my mac finally turns on the date/time is reset a windows pops up saying, "Your computer's clock is set to a date before January 1, 2008. This may cause some applications to behave erractically."

    Resetting your Mac's PRAM and NVRAM
    If you have Apple Care you should give them a call.

Maybe you are looking for

  • Table of Contents links and hyperlinks lose accuracy in FP past 5 pages?

    I've come up dry searching for any mention of this bug anywhere. We've got Word documents that have a table of contents (TOC created dynamically in word, using the standard "Heading" style method.) When we convert these to Flashpaper SWFs, about 50%

  • How to reinstall my audio interface?

    Since I downloaded maverick I ended up needing to reinstall my audio interface and now I am unable to reinstall.

  • Language suffix in name/display_name of wf_local_roles

    Hi, In the table wf_local_roles, the name and the display_name for suppliers (orig_system = WF_LOCAL_USERS) are being created with the language suffix (.AMERICAN). However the email_address is correct. For example: for the name (and display_name) [em

  • HT1177 how to restore itunes library?

    after reinstalling computer's system i can not restore the itunes library. in the capsule i can find specific song or album but dont find the way to the library. any body?

  • Can't get PSE8 on my new Macbook Pro

    I tried moving the PSE8 applicaiton over from one computer to my new Macbook Pro and it's not working. I then tried downloading it from the adobe site in my old orders file and it's only giving me a Read me file and Akamai NetSession Interface. I hav