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...
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>...
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...
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...
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 "O'Brian" and if they where<br>
null, that it is what the function getAsSQLString does. <br>
I shortened this code for posting purposes. I gathered...
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>
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, ' \ '...
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=" ' "+s+" '...
I'm not trying to display the data, I'm trying to INSERT the data, Access accepts everything except for something like "O'Brian". 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>...
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="null"; }<br>...
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>
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...
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>
I forgot to mention that I will also need to pass an 's similar to "Plaintiff's Drug Addiction". 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>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.