Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Negative Number Data Entry Formatting
Message
From
11/06/2002 17:12:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Negative Number Data Entry Formatting
Miscellaneous
Thread ID:
00667104
Message ID:
00667104
Views:
53
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
Next
Reply
Map
View

Click here to load this message in the networking platform