BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to change jtable view in jbuilder

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing
View previous topic :: View next topic  
Author Message
Robert
Guest





PostPosted: Tue Jul 15, 2003 5:09 pm    Post subject: How to change jtable view in jbuilder Reply with quote



Hi all,

I am a new in jbuilder in designing simple database applications,
and this time I am try to use dbswing to design the UI. My questions
are that how to redesign jtable view to let it show only ONE record in
one page and view is friendly. Jtable usually just showing record in
one line. I want to change its view because I got 50+ column in the
table.

Thanks advanced!


Rob
Back to top
mario
Guest





PostPosted: Tue Feb 07, 2006 3:02 pm    Post subject: Re: displaymask for float Reply with quote



I had the same problem. You changed deafult data type and it's right,
but you have to also set or change parameter sqlType, for double value must
be 8 .
Mariusz


Użytkownik "tom" <zhangx (AT) gaia (DOT) ecs.csus.edu> napisał w wiadomości
news:43bacfd6 (AT) newsgroups (DOT) borland.com...
Quote:
Hi,

I have a jdbtable that allows user to edit numerical values,but Jbuilder
rounded to the nearest integer values.
For example database table value 5.80 and jdbtable displays as 6.0. I
also
tried to change the default data type from BIGDECIMAL to FLOAT. It gave
me
the correct
data values, but I CAN NOT save the changed values back to database due to
wrong data type.

How would I format the displaymask to display the exact value from the
database table?


Here's my table layout.

id not null number,
value1 number,
value2 number,
value3 number,
value4 numaber,



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.