Hi Jann

what kind of JDBC driver are you using?
OCI, Thin Version etc..
I had similar problems with an old driver but not with dbforms but just with jdbc 
statements.
It looks like the Oracle number format is not so genious. I think they had to deal 
with several issues in this direction over the last years.

Try to use an actual driver from the oracle technet website.

Hope that helps.

Dominik



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jann
Kickler
Sent: Mittwoch, 5. M�rz 2003 09:38
To: Shawn
Cc: [EMAIL PROTECTED]
Subject: Re: [dbforms] Float / Textfield


Hi Shawn,

On 05 Mar 2003 09:29:13 +0900, Shawn <[EMAIL PROTECTED]> wrote:

> Hello Jann,
>
> Are you sure the type in the underlying database is float and not int?
> You'll get that problem if the db is int.

Yes i'am sure that the attribut in the underlying database table is FLOAT,
i've checked it once and twice with an update statement in the sql-plus- 
shell

>
> I can't reproduce your error using the cvs version.  Floats store fine
> for me.

perhaps, i should try the cvs-version too?

>
> What about your textfield tag? Do you have something like (note the
> size):
>
> <db:textField styleClass="clsInputStyle" size="31" fieldName="n2"/>

My textfield-Tag looks like this:

<db:textField styleClass="clsInputStyle" size="6" 
fieldName="STDDEVIATION"/>

I turned the size into 6 because the visual field was to big.




> On Mon, 2003-03-03 at 23:26, Jann Kickler wrote:
>> Hello,
>>
>> when i want to store a float like 3.3 into the database out from a 
>> dbform genrated dialog.
>> the servle stores only a 3. the datatype of the attribute in the table 
>> is a FLOAT(31).
>> how can i manage the problem?
>>
>> Greetings Jann



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to