473,804 Members | 2,191 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

input mask error troubleshooting

2 New Member
Hi,

I have a problem with one of my form. I want to record some data in a table by using a form. One of those data it is the time and I want to use an input mask to be sure that everyone will enter the data in the same way. There is my problem:

After the first digit I'm entering in the field, the message error "The value you entered isn't appropriate for the input mask '99:00\ >LL;0;_' specified for this field" appears. I'm pressing "OK" and the same error appear immediately. I'm pressing "OK" a second time and everything works well after that, I can continu to fill my field. So I don't understand why I cannot complete the field before the error appears and why it appears twice.

If someone can help me, it will be appreciate.

Thank you

guig
May 28 '08 #1
3 2757
NeoPa
32,579 Recognized Expert Moderator MVP
What Input Mask are you using (Exactly)?

I used '99:00\ >LL;0;_' and it worked perfectly for me (I did have to position the cursor to the left first).

PS. You don't say what data you attempted to input. Mine was 1111am (11:11 AM was shown).
May 29 '08 #2
missinglinq
3,532 Recognized Expert Specialist
I did the same as you, NeoPa, with the same results. In point of fact, if an incorrect character was entered, such as an alpha character in the first position instead of a numeric character, what should have occured would be that no character would appear and, depending on your system settings, a warning beep or some such would sound. The warning message should only come up when you exit the textbox. Which makes me think about corruption. I'd delete then recreate the textbox.

Welcome to Bytes, Guig!

Linq ;0)>
May 29 '08 #3
Guig
2 New Member
Hi Guys

Thanks for your answers...

I deleted the text box to check for corruption and my problem is still there.

I'm tring to enter the same type of data than you NeoPa, medium time. But after 1 digit, numeric one, the error message appear even if I don't exit the textbox. It's like if I have an event to refresh my data every time I write something. But I removed all filter and sort, check all event (nothing), and I still have the problem. Maybe this can help you too... Sometime, but not every time, after I exit my first textbox, the row of this data move up, but not my cursor, so if I write data in the second textbox, I overwrite on my last data row. Not sure if is clear...

ID Time Moisture
48 2:05 am 9.52
49 2:16 am 10.47
50 2:28 am 9.01
*

If I'm entering a new data (ID 51), when I exit the first textbox, than happen:

ID Time Moisture
48 2:05 am 9.52
51
49 2:16 am 10.47
50 |2:28 am 9.01
*
my cursor appers on second textbox of last row (ID 50)

I hope this could help you to help me...

Thanks and have a nice day

guig
Jun 4 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
3058
by: David W. Fenton | last post by:
I'm working on a subform where users put in 24-hour time. On their paper forms, they've been accustomed to referring to midnight as 24:00 (instead of as 0:00, which kind of makes sense from a human point of view, though it's still wrong, as it puts midnight as the end of the previous day instead of the beginning of the next, but it avoids the zero time problem). I have an input mask to put the : in the time, but when you input 24:00, it...
9
2973
by: Paul | last post by:
hi, is there an input mask i could use on a report to do the following: (1) if i enter "THISISATEST" on my form, i want the text box on my report to display: "T H I S I S A T E S T". (2) if i enter "THIS IS A TEST" on my form, i want the text box on my report to display: "T H I S I S A T E S T".
2
3317
by: Paul | last post by:
Hi everyone, here is the problem: I have 2 fields...Province and PostalCode The afterUpdate event of the province has this snippet of code: ... ... If Country = "canada" Then PostalCode.InputMask = ">L0L\ 0L0;0;_" docmd.gotocontrol "PostalCode" ... ...
2
3728
by: johnp | last post by:
Hi, Our Tech department updated users to Office 2003 this week. Now the input mask in one of the applications is showing up as: (###) ###-### The input mask wizard works correctly when I redo the mask. But in form view, the mask appears reverts to the previous.
7
7077
by: F. Michael Miller | last post by:
I have a db with Access front end, sql back, linked tables. I need to be able to change input masks at the table level in code. Any ideas? Thanks!
3
3346
by: AA Arens | last post by:
When I want the first character of a field to be Uppercased, I need to make an input mask, like >L< followed by ??????? for example. But this mask creates ____ in an unfilled field, which I don't like. How to get the fist character uppercased without an input mask or without ____ (underscores). When I click with the mouse on an empty field, it won't go to the far left side, cause of the input mask. How to avoid it? Bart
7
3529
desklamp
by: desklamp | last post by:
I'm a total Access newbie, please bear with me! Using Win2K/Access 2003. I'm trying to create a table in which I can store IP addresses and other information. According to Microsoft, there is no native way of converting an IP address to an integer/long number (which is much more efficient to index and search). After searching, I found a function which is able to take either an IP address or integer and convert it to the other. In the...
1
12250
by: Doug | last post by:
Hi, I created a short date field. The format is dd/mm/yyyy when displayed. The input mask is set to 99/99/00;0 (default, I didn't type anything). If I edit an existing date, say change 12/14/2007 to 12/15/2007, I get an error "the value you entered isn't appropriate for the input mask." I have to delete the "20" in the year to get it accepted, and then it puts the 20 right back. (I have the field set to required.) I changed 99/99/00;0...
14
4179
by: Trevor2007 | last post by:
I would like to allow the user to enter an input mask for a field and have the appropriate error message display if the citeria isn't met.ie: input mask = 99AA99"A""B" the message box would then display "formate must be ' 12AB34AB" or if the input mask was 9A990"C" the message would be "formate must be '1A23C', or ' 1A234C'" Note: inputask 'A' is any letter Ucase, and 'a' is any letter lCase, I would like to diferenchiant between the...
0
9715
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9595
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10603
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10353
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10356
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10099
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7643
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3003
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.