By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,475 Members | 1,367 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,475 IT Pros & Developers. It's quick & easy.

Entering a negative number into a textbox

P: n/a
There is probably a simple solution to this but:

I have a textbox that is bound to a number field in a table. The field
type is "double". If I enter a negative value directly into the table
it accepts it.

However if I try to enter a negative number into the bound textbox by
entering say, - 50, it won't. The only way that I can make the textbox
accept a negative is to hold the minus key on my keyboard down until
the number spins back to the desired value.

I tried experimenting with an unbound textbox and it accepts "- 50" OK.
I'm obviously missing something here.

Any help is appreciated.

Jun 3 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
> However if I try to enter a negative number into the bound textbox by
entering say, - 50, it won't. The only way that I can make the textbox
accept a negative is to hold the minus key on my keyboard down until
the number spins back to the desired value.

I tried experimenting with an unbound textbox and it accepts "- 50"
OK. I'm obviously missing something here.


I didn't investigate deeply, but did you try to insert "-50" instead of "-
50" (avoiding the space)?

--
PBsoft di Gabriele Bertolucci
www.pbsoft.it
skype: pbsoftsolution
Jun 5 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.