Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help - Why cant I insert a value grater than 9999.99 ?
Message
De
26/05/2001 18:20:41
 
 
À
26/05/2001 17:50:23
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00511836
Message ID:
00511839
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform