Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append Blank + Numeric field
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Append Blank + Numeric field
Divers
Thread ID:
00609235
Message ID:
00609235
Vues:
50
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.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform