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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ceaton

  1. ceaton

    PLEASE HELP!!!

    I'm in need of some help rather fast, project due!!<br> <br> I have this project due and the boss is<br> breathing down our necks, anyway I need to know how to call some<br> classes. I have this button on an applet from which I need to trigger<br> the following class. <br> <br> void...
  2. ceaton

    DIRE STRAIGHTS -- NEED HELP ASAP!!!

    I'm in need of some help rather fast, project due!!<br> <br> I am so new to java and I have this project due and the boss is breathing down our necks, anyway I need to know how to call some classes. I have this button on an applet from which I need to trigger the following class. <br> <br>...
  3. ceaton

    Writing an "Object Class"

    Okay, I'm getting confused on an issue of writting an object class. Does anyone know how to do this and can explain to me how to do this in a nutshell or have examples?<br> Maybe even a site that shows how to do this... this is imperative for me to finish my project.<br> <br> <br> Thanks for...
  4. ceaton

    Now onto UPDATE SQL

    I need to retreive my id key from an Access database and compare it to the current record I'm working on how do I go about doing that, this is what I've come up with so far and this doesn't seem to work. <br> <br> docketNum is within my access db and fileNum is the current record I'm working...
  5. ceaton

    INSERT INTO problem

    This is the entire SQL that I needed to perform an INSERT. I had 96 total fields to INSERT so they needed to be checked for words like &quot;O'Brian&quot; and if they where<br> null, that it is what the function getAsSQLString does. <br> I shortened this code for posting purposes. I gathered...
  6. ceaton

    SQL SELECT stmt

    Thanks a million Otto!<br> <br> It works like a champ!!<br> <br> Courtney <p> Courtney<br><a href=mailto: ceaton@lrp.com> ceaton@lrp.com</a><br><a href= > </a><br>
  7. ceaton

    INSERT INTO problem

    I got it to work, thanks for your help.<br> <br> Courtney <p> Courtney<br><a href=mailto: ceaton@lrp.com> ceaton@lrp.com</a><br><a href= > </a><br>
  8. ceaton

    SQL SELECT stmt

    Otto,<br> <br> I was mistaken when I told you that I tried that, I hadn't.<br> <br> This is what I did try:<br> <br> public String getAsSQLString(Label tf) {<br> String s;<br> <br> s=tf.getText();<br> if (s.charAt(i)==' \ ' ') { s.insert(i, ' \ '...
  9. ceaton

    INSERT INTO problem

    Here is the code I'm trying to get to work properly.<br> <br> public String getAsSQLString(Label tf) {<br> String s;<br> <br> s=tf.getText();<br> if (s.charAt(i)=='\ ' ') { s.insert(i, '\ ' '); }<br> else { s=&quot; ' &quot;+s+&quot; '...
  10. ceaton

    INSERT INTO problem

    I'm not trying to display the data, I'm trying to INSERT the data, Access accepts everything except for something like &quot;O'Brian&quot;. Anything with an apostrophe in the word.<br> <br> Is there some kind of other way to insert apostrophe words?<br> <br> Thanks,<br> <br> Courtney <p>...
  11. ceaton

    INSERT INTO problem

    This is the snippet of code that goes through each of my strings, maybe there is something missing?<br> <br> public String getAsSQLString(Label tf) {<br> String s;<br> <br> s=tf.getText();<br> if ((s==null) ¦¦ (s.length()==0)) { s=&quot;null&quot;; }<br>...
  12. ceaton

    INSERT INTO problem

    Thanks anyway, I have my question posted in the Java(sun) forum also. I've had Otto help me, but I've run into this little problem and thought someone else may be able to help.<br> <br> <p> Courtney<br><a href=mailto: ceaton@lrp.com> ceaton@lrp.com</a><br><a href= > </a><br>
  13. ceaton

    SQL SELECT stmt

    I am using jdk1.2.2 and I tried that one :-( earlier and got errors for everyone of my Inserts. Unbelievable isn't!<br> <br> I tried a bunch of various ways with the single quote and the double quote with the escape and I can't get it to work.<br> <br> <p> Courtney<br><a href=mailto...
  14. ceaton

    INSERT INTO problem

    I tried that and it doesn't work out right, thanks for trying!<br> <br> <p> Courtney<br><a href=mailto: ceaton@lrp.com> ceaton@lrp.com</a><br><a href= > </a><br>
  15. ceaton

    SQL SELECT stmt

    I forgot to mention that I will also need to pass an 's similar to &quot;Plaintiff's Drug Addiction&quot;. Will this function work with this also?<br> <br> Thanks <p> Courtney<br><a href=mailto: ceaton@lrp.com> ceaton@lrp.com</a><br><a href= > </a><br>

Part and Inventory Search

Back
Top