This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC and the fly likes formatting output columns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "formatting output columns" Watch "formatting output columns" New topic
Author

formatting output columns

Craig Parsons
Ranch Hand

Joined: Jan 28, 2004
Posts: 40
I am new to retrieving data from an Access database using JAVA code with enbedded SQL. I am just doing a basic SELECT * FROM database. So all the records show up, but my columns are all uneven.
What can I use to get my columns lined up under the column headers? I would like to have the 1st position of the column to be lined up with the headers and all the data below it.
Thanks,
Craig
 
GeeCON Prague 2014
 
subject: formatting output columns