Re: mySQL Database to a TextArea?

From: Lee Fesperman (firstsql_at_ix.netcom.com)
Date: 08/25/04

  • Next message: Rich Wahl: "Re: mySQL Database to a TextArea?"
    Date: Wed, 25 Aug 2004 00:14:00 GMT
    
    

    Rich Wahl wrote:
    >
    > I have a little program here that uses JDBC to connect to a mySQL
    > server. (Doesnt connect remotely yet :) ill cross that bridge when I
    > get there, still new to sql servers and if everyone needs a user/psw
    > or whatnot).
    >
    > My question is as follows, Is there a way that I can 'import' the
    > formatting of a SQL output (with all the plus's and auto formatting of
    > columns to accomodate the largest name/number in that column. As of
    > now, I just have a Label above a TextArea and have the inputs being
    > read and a constant format as its outputted. (Using tabs and spaces)
    > But it looks very sloppy, as not all names or values are the same
    > length.

    Use a fixed-width font (monospaced) and space filling in the TextArea.

    -- 
    Lee Fesperman, FFE Software, Inc. (http://www.firstsql.com)
    ==============================================================
    * The Ultimate DBMS is here!
    * FirstSQL/J Object/Relational DBMS  (http://www.firstsql.com)
    

  • Next message: Rich Wahl: "Re: mySQL Database to a TextArea?"