Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox numeric formatting
Message
 
À
17/11/2014 07:08:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01611077
Message ID:
01611078
Vues:
85
>Should be simple but I'm rusty..
>
>In a Form.Init() I create a cursor:
CREATE CURSOR xxx (
>    MyField N(6,1)
>)
>APPE BLANK
If I open this in a browse window I can enter data as expected (e.g. typing '12345' gives '1234.5').
>In the form I have a textbox with DataSource = xxx.MyField.
>If I enter the same keystrokes here I get '1.24' and it tabs to the next item.
>
>What am I missing?

It should be ControlSource, but I assume this is a typo.
Check what is InputMask property of this TextBox.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform