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 bkrike 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 jakeisstoked

  1. jakeisstoked

    Writing outputstream starting at specific byte, overwriting therafter.

    So random access file is otherwise the same as and outputstream? Anyway, thanks heaps, that's exactly what I needed. Can't believe random access didn't even spark in my head when thinking of that! -Jake
  2. jakeisstoked

    Writing outputstream starting at specific byte, overwriting therafter.

    Hi, I need a file to be written at a specific byte to a specific byte (I can write to a specific byte, that's simple), and I can also read inputstreams from and to a specific byte thanks to the skip() method. Problem is I can't seem find a similar method for outputstreams. For example, say I...
  3. jakeisstoked

    Getting out of input stream loop (reading byte by byte)

    Ok, I have this really simple function in some client / server programs, I am trying to read an input stream, it sends ok, says I send something like "ostream.write("message".getBytes());" on a client and it sends. And this little procedure reads the stream; private void processRequest(){...
  4. jakeisstoked

    INSERT query with *possible* null variables.

    Hi, thanks, I see how that works, the second part was what I was after. I actually came up with a much simpler solution, but you need 2 queries. It's easy to just run an insert query with all the required values, then run conditional update querie/s for every non required variable that isn't...
  5. jakeisstoked

    INSERT query with *possible* null variables.

    Hi, I have this query being executed in VBA, it's a long insert query and it's getting the data from a form, problem is not all of the fields are required, and I will get a "data type mismatch in expression" exception if there are any null values. With a query that isn't running from code this...
  6. jakeisstoked

    Counting rows on a form from VBA.

    Thanks that's what I was after, I swear I tried Me.Something.RecordCount a hundred times. Cheers again. -Jake
  7. jakeisstoked

    Counting rows on a form from VBA.

    Hi, I have this form, and I need to count the rows in VB so I can store it in a variable and do stuff with it, I know how to count rows on a form by using a textbox with a control source set to "=Count([some_ID])" or whatever, but that's pointless to me. Can I do it directly from VB? Or can I...
  8. jakeisstoked

    Distinct needed, but with other columns, possible?

    Argh, so simple, thanks a million, mate. -Jake
  9. jakeisstoked

    Distinct needed, but with other columns, possible?

    Hi, I need what I think should be a pretty simple SQL statement, but I just can't seem to find the solution. It's only selecting data from 1 table.. Ok, so I have a table of prices associated with items, and the prices have a date (so it acts as kind of log as well), and there are also...
  10. jakeisstoked

    Works in IE, but not Firefox, CSS Height Problem

    Sorry, I thought I first put it succinctly, my fault. I'll look elswhere in the forum for an answer.
  11. jakeisstoked

    Works in IE, but not Firefox, CSS Height Problem

    Ok, thank you Dan, I realise I should have been using min-height now. Now it stretches to the content in both browsers,,, but (sorry if this is something obvious I'm missing) now the left/middle/right divs don't stretch to the page container (the page container is only stretching to accomodate...
  12. jakeisstoked

    Works in IE, but not Firefox, CSS Height Problem

    Ok, I'm new to these all CSS type layouts, and I'm having a real headache trying to get even the most standard things looking right. This layout looks fine in IE, but in Firefox the div's don't stretch according to the content, like, the containers don't resize the containers they're inside and...
  13. jakeisstoked

    php DSN-less connection trouble

    <?PHP $conn = "DRIVER={MySQL};\ SERVER=localhost;\ DATABASE=test;\ USER=root;\ PASSWORD=xxx;\ OPTION=3;"; $conn->open($conn); ?> Thanks, I missed that, it has another error now: "Fatal Error: Call to member...
  14. jakeisstoked

    php DSN-less connection trouble

    Hi, I'm trying to connet to a MySQL database using a dsn-less connection and I keep getting the following error: Parse error, syntax_error, unexpected T_VARIABLE in C:\Inetpub\wwwroot\test.php on Line 10 This is how my connection looks: ******************************************** <?PHP...
  15. jakeisstoked

    Getting info from registry?

    and In the phone number was my pin number for a $150 phone card which again I didn't write down" thats the thing i was actually worried about

Part and Inventory Search

Back
Top