Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Negative Number Data Entry Formatting
Message
De
11/06/2002 17:12:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Negative Number Data Entry Formatting
Divers
Thread ID:
00667104
Message ID:
00667104
Vues:
52
My brain isn't functioning correctly tonight so I apologise up-front for asking this question <s>.

Is there a simple way of forcing a 'minus' sign (at the start/begining of a number string) for numeric data entry where we know that the value is and must be negative (eg., entering a credit balance).

I have looked at the various format/picture clauses but I couldn't see anything that would automatically make a number negative and display the negative sign as you start typing.

Whilst I can think of a few ways of doing this (in the keypress event), I just wondered whether there is a simple way that I may have overlooked.

Thanks!
-=Gary
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform