473,395 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 2234
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.supernews.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.wave.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.supernews.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
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...
2
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...
6
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...
5
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...
2
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...
4
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...
5
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. ...
2
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...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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
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,...
0
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...

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.