473,748 Members | 2,426 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

0 or blank Data Entry field on a form when tabing or clicking to enter

I have a form that when you tab from field to field that the entry point is
blank, but if you point and click in the field it brings up a 0 and data
entry is started to the left of the zero.

Thus if you are click and enter 8 becomes 80, but if you tab to the field
and enter 8 it is 8.

So my question: is there an easy way to have Access XP-2002 keep the entry
on the form blank when you click on a field to enter data?

If you need more information to please ask, as I want to keep it as simple
as possible.

Thank you.
Nov 12 '05 #1
2 2252
CDB
1. Go to the table definition for the data, and remove the default value of
zero for that field. (Microsoft are very helpfully makes an automatic
default value of zero for when you create a numeric field. In 10 years of
using access, I have never wanted to have such a default value!)

2. Leave the default value as it is, and Go to Tools/options. In the
keyboard camp, change "behaviour entering Field" from "Go to start of field"
to "Select entire field".

3. There could be code is attached to the "Before Insert" event. (This is
the technique I use.) The code would need to be modified.

Clive
"JC Mugs" <jc****@hotmail .com> wrote in message
news:10******** *****@corp.supe rnews.com...
I have a form that when you tab from field to field that the entry point is blank, but if you point and click in the field it brings up a 0 and data
entry is started to the left of the zero.

Thus if you are click and enter 8 becomes 80, but if you tab to the field
and enter 8 it is 8.

So my question: is there an easy way to have Access XP-2002 keep the entry on the form blank when you click on a field to enter data?

If you need more information to please ask, as I want to keep it as simple
as possible.

Thank you.

Nov 12 '05 #2
Thanks, but I may have to do some more as this gives me a null field and the
calculations that use this now will not work correctly with a null value.

I think I can make use of the Nz(value,0) to fix this I think.. Or if you
have better way let me know.

"CDB" <al***@delete.w ave.co.nz> wrote in message
news:c0******** **@news.wave.co .nz...
1. Go to the table definition for the data, and remove the default value of zero for that field. (Microsoft are very helpfully makes an automatic
default value of zero for when you create a numeric field. In 10 years of
using access, I have never wanted to have such a default value!)

2. Leave the default value as it is, and Go to Tools/options. In the
keyboard camp, change "behaviour entering Field" from "Go to start of field" to "Select entire field".

3. There could be code is attached to the "Before Insert" event. (This is
the technique I use.) The code would need to be modified.

Clive
"JC Mugs" <jc****@hotmail .com> wrote in message
news:10******** *****@corp.supe rnews.com...
I have a form that when you tab from field to field that the entry point

is
blank, but if you point and click in the field it brings up a 0 and data
entry is started to the left of the zero.

Thus if you are click and enter 8 becomes 80, but if you tab to the field and enter 8 it is 8.

So my question: is there an easy way to have Access XP-2002 keep the

entry
on the form blank when you click on a field to enter data?

If you need more information to please ask, as I want to keep it as simple as possible.

Thank you.


Nov 12 '05 #3

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

Similar topics

2
4138
by: Iain Miller | last post by:
Struggling a bit here & would be grateful for any help. I have a table which has a list of people in it. Each person has a unique ID automatically allocated by Access but also belongs to one of 5 Groups - call them A to E. I'd like to generate a further automatic reference number based on something like Group/Unique ID so when I create a new record Access creates the Unique ID & I then enter in the group and then Access combines the two...
2
2180
by: Richard Wakeman | last post by:
Hi - On a data entry screen with misc. input boxes, such as for Name, Telephone Number, etc., when tabing down the input screen, Access will highlight whole contents in that box. Sometimes I'd like to be able to jump to the end or the beginning of that input box to start typing without overwritting what's already in there. In other words, if I key a Home or an End key, the cursor will jump to the tabs at top or out of the screen. If I...
6
7137
by: Andy | last post by:
Hello, I am having many problems with setting up a parameter query that searches by the criteria entered or returns all records if nothing is entered. I have designed an unbound form with 3 fields on it: Date (DateSpan1 and DateSpan2), Originator, and GroupName. I have added a button that triggers a query and uses those fields as its parameter criteria to populate a form. The user must be allowed to either enter all of the
5
2449
by: ChadDiesel | last post by:
My basic question is why does my print report button on my subform print a blank report when my cursor is on a blank entry line? Here is a more detailed explanation of my problem. I have a form that contains shipment destination information and a subform that contains boxes for that shipment. The main form is a table called Ship_Info, and the subform is a table called Label_Info. They both contain and are linked by a field called...
2
2469
by: x | last post by:
hi i am a pilot by profession. i want to create a database of my logbook using ms access 2002. i am facing a problem regarding the format of time field. when i select "Data/Time" data type for my time field then this format gives the liberty to record times uptill a figure of 59 in different sub-formats, whereas i want the format to be able to record the times like 80:35 or 1:10 or 1138:00. which means that i have these many hours on a...
4
2216
by: sparks | last post by:
I am trying to fix a database that someone did about 4 yrs ago in access97. The main table just contains demographics and is on the main form of the database. It has a subform on a tab that contains the other information. it is set 1 to 1 in the relationships. simplify if I can
5
2710
by: M Skabialka | last post by:
I am creating my first Visual Studio project, an inventory database. I have created a form and used written directions to add data from a table to the form using table adapters, data sets, etc. I imported a table from an Access database which has some date fields. Many of these dates have never been filled in, so are nulls. If I look directly into the table data from Visual Studio it shows NULL. However, when I scroll from record to...
2
4328
by: Del | last post by:
I have a popup form that consist of a single field called EnteredBy and a Subform that has three fields. The popup form also has a button in the Form Footer called close. In the On Click event I have the following code. DoCmd.Close I want the EnteredBy field to be a required field. So in the On Exit event for that field I have the following code.
3
8350
by: Harry2007 | last post by:
How do I get rid of the blank form that attach to the current form when you start to enter data into a continuous form? I want the blank form to only appear after they click on the ADD Record button and not automatically. I have tried to play around with allow addition and data entry and put them in before insert, after insert, on current but yield disappointing result. My initial setting where I set allowedit, addition, deletion and data...
0
8984
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
8823
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
9530
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
9363
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
9312
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,...
1
6793
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
6073
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2775
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.