PDA

View Full Version : How to create a static (non-edited) negative sign issue



technocraze
01-31-2007, 07:14 AM
Hi community experts and guys,

I am facing a diffculties in creating a static negative sign (-) operator.

That entry will only take in negative sign.To make it simple what i need is to display the negative sign in the textbox and it must be permanently there, which mean that user are not able to edit that negation sign ("-"). Whenever the form is loaded that negative sign must be there.

The purpose of the textbox in this context is used to accept a numerical value, which mean that when the user save the data to the table, the sign together with what have been entered in the textbox will be displayed.

What i am thinking is to use the expression builder to achieve but still trying hard on that expression.
Ex: Textbox1
Permanent negative sign (-)
value for the textbox - (2)
Overall it will become -2

This are the what have tried so far but to no avail.
Load event . Me.TextBox1 = "-"
Got Focus - Me.TextBox1 = "-"
Validation rule - < 0
ControlSoure - ="-"
input mask = "-"

All then above suggested appear to have macros errors

OBP
01-31-2007, 09:23 AM
See your previous post on - signs.