Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append Blank + Numeric field
Message
De
23/01/2002 14:39:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00609235
Message ID:
00609239
Vues:
13
This message has been marked as a message which has helped to the initial question of the thread.
Either add one line:
Replace Valor with 0.00 in Teste
or instead of Append Blank use:
Insert INTO Teste Values(" ",0.00)

Rick

>Hi folks!
>
>Take a look at this sample:
>
>Create Cursor Teste (Descricao C (30), Valor N (12,2))
>Append Blank In Teste
>
>I just create a new cursor and add one record.
>I'm using this cursor linked at a ControlSource of two TextBox. The char field works fine, but in the numeric field I have problems:
>When the numeric TextBox get the focus, the VFP don't show 0.00 - and the SelectOnEntry don't work.
>
>... and if SelectOnEntry don't work and the user type 3 and press left arrow, VFP store 30.00 in this TextBox.
>
>How can I correct it?
>
>I can't use "Default Value" because this cursor isn't in a DBC. (and I have a lot of places to do it...)
>
>By the way... I didn't use ControlSource property before, and this problem didn't happens.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform