If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > manpswift

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-12, 10:25
manpswift manpswift is offline
Registered User
 
Join Date: Feb 2012
Posts: 2
manpswift

Hi guys, hope someone can help me. I have written a small database using Access to store some useful information at work, my question is, i have created simple 'number input boxes so a score between 1 and 20 can be recorded but when i switch from design view i always seem to have a '0' in the box as default.. Is there anyway i can set the properties of this box to be blank on opening a new record? Hope someone can help.

Many Thanks
Reply With Quote
  #2 (permalink)  
Old 02-02-12, 12:03
pbaldy pbaldy is offline
Registered User
 
Join Date: May 2005
Location: Nevada, USA
Posts: 2,475
Presumably either the field in the table or the textbox on the form has a default value of 0.
__________________
Paul
Reply With Quote
  #3 (permalink)  
Old 02-02-12, 16:52
Missinglinq Missinglinq is offline
Registered User
 
Join Date: Jun 2005
Location: Richmond, Virginia USA
Posts: 1,702
Presumably you haven't set this, so it's probably in the Table Def. The Default Value, when adding a Number/Integer Field to an Access Table is Zero. Go into Table Design View and delete this from the Default Value Property Box.

Linq ;0)>
__________________
Hope this helps!

The Devil's in the Details!!

All posts/responses based on Access 2000/2003
Reply With Quote
  #4 (permalink)  
Old 02-03-12, 09:06
manpswift manpswift is offline
Registered User
 
Join Date: Feb 2012
Posts: 2
Hi there. I have looked at the default value properties and it seems to be blank, i have tried entering a value but to no avail.... Am I just being stupid.
I can always send a screen shot for someone to have a quick look at :-)
Reply With Quote
  #5 (permalink)  
Old 02-03-12, 10:57
pbaldy pbaldy is offline
Registered User
 
Join Date: May 2005
Location: Nevada, USA
Posts: 2,475
Both the textbox on the form and the field in the table? A screen shot or copy of the db might help.
__________________
Paul
Reply With Quote
  #6 (permalink)  
Old 02-03-12, 12:26
Missinglinq Missinglinq is offline
Registered User
 
Join Date: Jun 2005
Location: Richmond, Virginia USA
Posts: 1,702
If the Field is a Number and you did not delete the Default Value when you created the Table, the Default will be Zero! That's how Access works. In the Database Dialog Box, where you see Forms, Reports, Tables, etc
  1. Select the Table in question
  2. Click on the 'design' icon at the top of the Dialog Box
  3. Click to select the Field in question
  4. Under Field Properties/General Tab go down to Default Value and see what's there
__________________
Hope this helps!

The Devil's in the Details!!

All posts/responses based on Access 2000/2003
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On