Forum: VB.NET Oct 9th, 2007 |
| Replies: 2 Views: 3,148 Re: How to display my sql 'Count' result... Thanks for the reply. I am using VB.net but just messing up my syntax I'm afraid!
I was using executescalar() was initially I was doing a Count, so point taken for my revised sql statement I should... |
Forum: VB.NET Oct 9th, 2007 |
| Replies: 2 Views: 3,148 How to display my sql 'Count' result... Hi
I am trying to get to grips with querying an access database and displaying the information. I have started with a coun sql command to just return the number of rows but wanted to display this to... |
Forum: Java Aug 11th, 2005 |
| Replies: 6 Views: 2,135 Re: do while loop - not stopping!! sorry I have not conveyed the problem clearly. I do know what I am trying to do but obviously not explaining it very well and have written down what I wanted and tried to translate it to code - but... |
Forum: Java Aug 11th, 2005 |
| Replies: 6 Views: 2,135 Re: do while loop - not stopping!! I am sorry about this but I just don't get how to fix it. I'm not sure why I would need to change searchValue.
For example, searchValue might be 10 and looking in the following array... |
Forum: Java Aug 11th, 2005 |
| Replies: 6 Views: 2,135 Re: do while loop - not stopping!! hmm, not sure I understand. Why would I want to change searchvalue? As for each time this method is run it will be a different value but it shouldn't change when the loop is running...? |
Forum: Java Aug 11th, 2005 |
| Replies: 6 Views: 2,135 do while loop - not stopping!! Hi
I am having a bit of trouble with a do while loop. I either can't get it to stop, or it doesn't do exactly as I need it to.
I am using a array called nums to insert random numbers into a binary... |
Forum: Java Aug 11th, 2005 |
| Replies: 4 Views: 6,023 Re: adding Jscrollbar or Jscrollpane to Jtextpane Hi
Yes, it was the setBounds, so set this and once I add enough text to warrant a scrollbar it appears - fantastic! :mrgreen:
Thanks loads for your help with this, I knew it was simple and that I... |
Forum: Java Aug 11th, 2005 |
| Replies: 4 Views: 6,023 |
Forum: Java Aug 11th, 2005 |
| Replies: 4 Views: 6,023 adding Jscrollbar or Jscrollpane to Jtextpane Hi
I have a JTextpane where i will be adding instructions. I know this will not be large enough, but there is no further space on my interface, so I need to add either a scrollbar or scrollpane.
I... |
Forum: Java Aug 4th, 2005 |
| Replies: 13 Views: 2,654 |
Forum: Java Aug 3rd, 2005 |
| Replies: 13 Views: 2,654 |
Forum: Java Aug 3rd, 2005 |
| Replies: 13 Views: 2,654 |
Forum: Java Aug 3rd, 2005 |
| Replies: 13 Views: 2,654 |
Forum: Java Aug 3rd, 2005 |
| Replies: 13 Views: 2,654 Re: using boolean expression on an array Hi Jwenting
thanks for the reply. I tried your code but couldn't get it to compile as i wasn't sure if you meant just replace my two methods with this new code or not?
So I tried:
public void... |
Forum: Java Aug 3rd, 2005 |
| Replies: 13 Views: 2,654 Re: using boolean expression on an array Hi adi1600
I tried your suggestion, but the loop doesn't stop! I take it that's because I haven't told it what index is, so it doesn't know when to stop looping?
Any further suggestions on this... |
Forum: Java Aug 3rd, 2005 |
| Replies: 13 Views: 2,654 using boolean expression on an array Hi
I have created an array of random numbers but I need to stop duplicate numbers being added to the array so I have added the boolean 'fresh'. however, I somehow need to tell my 'fresh' to only... |
Forum: Java Jul 30th, 2005 |
| Replies: 5 Views: 3,776 |
Forum: Java Jul 28th, 2005 |
| Replies: 5 Views: 3,776 |
Forum: Java Jul 28th, 2005 |
| Replies: 5 Views: 3,776 generating random numbers into an array.. Hi
I have searched this site for help with this and used an example of a lottery numbers program.
However, I need to modify it slightly but can't seem to get it right.
I would like to be able to... |