473,508 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Numeric Entry

I have tried. But now I ask. I cannot get a control to accept a numeric
entry (e.g. 0.23) without first entering a zero. I want to allow only two
decimal places. But I would like numbers less than 1 to be enter by pressing
the decimal then one or two digits. This is a normal entry method in Excel
and Foxpro, etc.. Any help would be appreciated.

Thanks in advance.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200704/1

Apr 23 '07 #1
2 2129
Is your field number type "decimal"? That allows entering just ".25",
though it displays as "0.25"

-Ed

"Earl G via AccessMonster.com" <u10839@uwewrote in message
news:71243060ac260@uwe...
>I have tried. But now I ask. I cannot get a control to accept a numeric
entry (e.g. 0.23) without first entering a zero. I want to allow only two
decimal places. But I would like numbers less than 1 to be enter by
pressing
the decimal then one or two digits. This is a normal entry method in
Excel
and Foxpro, etc.. Any help would be appreciated.

Thanks in advance.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200704/1

Apr 24 '07 #2
Thank you Ed and Larry.
I am using an unbound text box. The numbers entered represent a dollar
amount anywhere from .01 to 100000.00. The Format property is for display
only as is the Decimal Places property. If I don't use an input mask, the
user can accidentally enter .011 which displays as .01 but uses .011 in all
calculations. When I do use an input mask, e.g.(#####.99;;" ") the user MUST
enter a 0.01 and cannot enter .01 without entering the 0 first.

I hope this helps explain the issue.

Thanks

Earl

Ed Robichaud wrote:
>Is your field number type "decimal"? That allows entering just ".25",
though it displays as "0.25"

-Ed
>>I have tried. But now I ask. I cannot get a control to accept a numeric
entry (e.g. 0.23) without first entering a zero. I want to allow only two
[quoted text clipped - 5 lines]
>>
Thanks in advance.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200704/1

Apr 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
3638
by: Dr John Stockton | last post by:
It has appeared that ancient sources give a method for Numeric Date Validation that involves numerous tests to determine month length; versions are often posted by incomers here. That sort of code...
7
3910
by: BBFrost | last post by:
I'm receiving decimal values from database queries and placing them on a report page. The users want to see the following .... Db Value Display Value 123.3400 123.34...
20
41863
by: anthonymelillo | last post by:
Is there any way to check the entry in a text box and make sure it is numeric ? Also, can I catch the enter key and make it call a button click event ? Sorry if this sounds stupid, but I am...
11
4514
by: Keith | last post by:
I apologize for those of you who think I'm posting on the same topic. It is not that I don't appreciate all of your comments - and I'm definitely reading them all - but I think I have a differing...
7
1639
by: Sheldon | last post by:
Hi, I have the following loop that I think can be written to run faster in Numeric. I am currently using Numeric. range_va = main.xsize= 600 main.ysize= 600 #msgva is an (600x600) Numeric...
2
2264
by: goetzie | last post by:
I am using Python 2.4.1 and Numeric 23.8 and running on Windows XP. I am passing a Numeric array of strings (objects) to a C Extension module using the following python code: import Numeric...
0
1240
by: EgoSum | last post by:
Can someone help me with custom text box? I want change behavior custom date text box - disallow entry and pass entry from numeric keyboard to a text box. Code below disallow entry, but how I can...
2
1885
by: EgoSum | last post by:
Can someone help me with custom text box? I want change behavior custom date text box - disallow entry and pass entry from numeric keyboard to a text box. Code below disallow entry, but how I can...
3
7063
by: beary | last post by:
Hi, I have a number of text boxes for the user to input either numbers, or letters. Sometimes, the entry must be numeric. So I was thinking of using an onblur thing to check whether the value of...
0
7114
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7034
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7488
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.