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
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).
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)>
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
Sign in to post your reply or Sign up for a free account.
Similar topics |
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...
|
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".
|
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"
...
...
|
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.
|
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!
| |
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
|
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...
|
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...
|
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...
|
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...
|
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,...
| |
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...
|
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...
|
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,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |