Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Guest7112023

    ANOTHER java.sql.date PROBLEM!!!

    Hi eh171 - don't know if this is any help as background info. SQL date datatype includes time as default - convert it to a string using a format such as 'HH24:MI:SS' (eg. using TO_CHAR() or similar) to see the time. If you are retrieving a string, you may be missing the (optional) date. Just...
  2. Guest7112023

    SETTING TEXTFIELD IN ANOTHER CLASS

    Are you trying to set the text before the TextField has been instantiated ? Or before class2 itself has been instantiated ? Try checking the sequence of events. If none of the above, check the string has been initialized (give it a dummy value if necessary).
  3. Guest7112023

    problem running a program

    Is DMC part of a package ? If so, you'll have to run it from the parent directory and run it as '[package_name]/DMC'
  4. Guest7112023

    Background in a JPanel

    How about setOpaque(true) as well ? (Slap).
  5. Guest7112023

    Call Oracle stored procedure from java which will return a recordtype

    I *think* it will depend on the JDBC driver you are using. There are likely to be several available for Oracle, with different specs. If not, you might consider SQLJ that they were pushing a while ago. (Not sure if it ever caught on though).
  6. Guest7112023

    Java environment confusion

    http://forum.java.sun.com/thread.jsp?thread=345021&forum=54&message=1425376
  7. Guest7112023

    Java books

    Sun's own tutorials are OK (avail as book or web). The online versions are quite handy for quick reference, but I find the style a bit chatty. Still, it's free.
  8. Guest7112023

    Java program development - Sun One query

    I'd suggest getting a good Swing tutorial (or check out Sun's online tutorial). Chances are you've just misunderstood what's happening. Assuming you've setup a pane with a vertical BoxLayout to hold each row of buttons, you'll then need several horizontal BoxLayout panes (one for each row) to...
  9. Guest7112023

    Problem in Developer 2000

    Sounds like it can't "see" the driver files. The manual says "... the SQL*Net driver is not loaded into memory or there is a mismatch of the version of the driver." Have a look at the Oracle registry settings and the Path environment variable: it uses them to find its programs.
  10. Guest7112023

    Excel OLE Automation

    Has anyone managed to control Excel from Oracle Forms 6.0 ? I have searched the Web and I can't get anything to work past starting Excel: the Forms 4.5 examples don't seem to work with 6.0. Any advice would be appreciated !
  11. Guest7112023

    ORACLE DECODE FUNCTION...NEED HELP

    The default value is optional - the DECODE() returns NULL if no values<br>matched.
  12. Guest7112023

    PL/SQL variable problem (newbie!!!)

    Mike, the PL/SQL structure you give is correct, but it is possible to<br>embed one block inside another in the way Steve has. One reason would<br>be to give a routine it's own set of local variables, but it's not<br>used very often and seems a bit pointless in this case.<br>Also, I don't think...
  13. Guest7112023

    PL/SQL variable problem (newbie!!!)

    Just a guess - are any of your values NULL ? The result of any numeric<br>operation involving a NULL value is NULL.<br><br>Try putting NVL(column, 0) around anything not defined as NOT NULL.<br><br>This is always the first think I check when it happens to me.
  14. Guest7112023

    Usage of Variable in the sql Prompt

    If you mean from within SQL*Plus:<br>'SET DEFINE ON' and then prefix your variable names with '&', eg.<br>&nbsp;&nbsp;&nbsp;SELECT column1<br>&nbsp;&nbsp;&nbsp;FROM&nbsp;&nbsp;&nbsp;table<br>&nbsp;&nbsp;&nbsp;WHERE&nbsp;&nbsp;column2 = '&my_variable'<br>SQL*Plus will prompt you for the value...
  15. Guest7112023

    Trigger will not fire event

    Maybe the Trigger doesn't have access to the ALTER ANY USER permission&nbsp;&nbsp;(or whatever it's called).

Part and Inventory Search

Back
Top