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 Mike Lewis 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. PatHill

    Java Print Services &SequenceInputStream

    Hi, Because Java Print Services is not complete, I need to send control characters to a printer prior to the printable data itself to effect Landscape printing. As a Doc can be declared to use an INPUT_STREAM, one way of doing this, appears to be to use SequenceInputStream with the first...
  2. PatHill

    IB5.1, ODBC and Parsing SQL string

    Like I said, you can download the source code for IB6 - you don't have to implement it in your production environment - but you look in the code to see how they do the parsing and then use this info to implement your own parser. Personally, I like Interbase as a DBMS, but the supplied UIs are...
  3. PatHill

    IB5.1, ODBC and Parsing SQL string

    I don't think that PREPARE is what you are looking for. It appears to be a DSQL statement for use in embedded SQL, not something you can use directly as part of an SQL statement. Take a look at Interbase 6 - it's open source so you could look at the parsing code itself (if all else fails).
  4. PatHill

    Where do you use Interfaces.

    Interfaces are often used for "plug-in's" where the host program doesn't need to know about the implementation, just that a particular object will support particular method signatures. Interfaces are the foundation of COM (that's just a statement, not a recommendation) - so if you do...
  5. PatHill

    square/rectangle problem

    To expand on what I mean... If your app only needs to deal with squares, and will only ever need to deal with squares, then a Squares class is all you need - Shapes and Rectangles don't come into it. If your app only needs to deal with squares now, but in the future will need Rectangles and...
  6. PatHill

    square/rectangle problem

    What I meant was be careful not to get yourself into a corner. I agree that you don't want to add functionality you don't need, but you do (imho) want to make sure that the framework is extensible.
  7. PatHill

    square/rectangle problem

    This is the crux of OO - namely, reaching an appropriate level of abstraction. It really does depend what you want you app to do both now and in the future. On the face of it, I'd be inclined to say that a Square was an instance (object) of the Rectangle class whose properties (height and...
  8. PatHill

    Access, VB and Crystal

    I have a Query in Access 97 which uses some VB functions to derive the value of various fields in the query based on other values in the row. So for example a VB function f(x,y,z) is defined so that if z > 10 then the value returned is x+y, otherwise its just x. The query then runs like SELECT...

Part and Inventory Search

Back
Top