Re: mySQL Database to a TextArea?

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


Date: Thu, 26 Aug 2004 02:52:47 GMT

Rich Wahl wrote:
>
> Lee Fesperman <firstsql@ix.netcom.com> wrote in message news:<412BD897.19FE@ix.netcom.com>...
> > 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.
>
> That wouldnt doesnt work since the names and values I will be reading
> in from the Database are all of different lengths.

Your description was vague, so I gave a solution putting everything in a single
TextArea using space filling to line columns up. That will work!

> Or is there a way to have a text area start at a exact position? I
> havent done much work with formatting within a textarea...

Perhaps, you should try your question on comp.lang.java.gui, because it is not actually
database related.

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


Relevant Pages

  • Re: Multiline database entries
    ... what I'm trying to do is get a private message sent between two ... >>TEXTAREA and then PHP handles the storing of everything to a MySQL ... >>Using a blob in the database ... > First for that u dont need a blob field but a Text is enough, ...
    (alt.php)
  • Re: Multiline Textbox Problems
    ... I am using the textarea to enter the data from the form into the ... In this site you will find some php code. ... The data was saved in the database field exactly the same. ... displaying come from the database. ...
    (comp.lang.php)
  • Re: Creating session variables in GLOBAL.ASA ???
    ... WYSIWYG editor ... all i am working on a textarea where X number of char reaches in a line then ... >> Eventually I'll need to access a database and I'm assuming that if I ...
    (microsoft.public.inetserver.asp.general)
  • Re: Creating session variables in GLOBAL.ASA ???
    ... WYSIWYG editor ... all i am working on a textarea where X number of char reaches in a line then ... >> Eventually I'll need to access a database and I'm assuming that if I ...
    (microsoft.public.inetserver.asp.general)
  • Re: Creating session variables in GLOBAL.ASA ???
    ... WYSIWYG editor ... all i am working on a textarea where X number of char reaches in a line then ... >> Eventually I'll need to access a database and I'm assuming that if I ...
    (microsoft.public.inetserver.iis.activeserverpages)