Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help - Why cant I insert a value grater than 9999.99 ?
Message
From
26/05/2001 18:20:41
 
 
To
26/05/2001 17:50:23
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00511836
Message ID:
00511839
Views:
17
Peter,

Expand your constants in the SELECT statement to be the "width" you need them to be. That would be the "0.00" and the "0.0000". I'm not sure why it works now with values up to 9999.99.

Good luck,

JimN


>I created a view similar as this one:
>
>CREATE VIEW AS ;
>SELECT Tipo_acoes.nome, Tipo_acoes.cod_tipo, Tipo_acoes.especie, ;
> C_v_acoes.data, C_v_acoes.quantidade, C_v_acoes.preco_unit, ;
> 0.00 AS Total, 0.0000 AS Price_Now ;
> FROM data1!c_v_acoes LEFT OUTER JOIN data1!tipo_acoes ;
> ON C_v_acoes.cod_acao = Tipo_acoes.codigo
>
>PROBLEM:
>If I want to change/insert a value in an field like Total or Price_Now
>in the view with values grater than 9999.99 it allway returns this message: "numeric owerflow, data was lost. "
>
>I must insert values greater than 99,999,999.99.
>
>Why this happens and how can I solve this problem ?
>
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform